Comments (4)
Exposing 443 port is not sufficient for testing with HTTPS, although this is already done in :dev
tag....
But Dusk testing will not work since WebServer in this package (NGINX) is not configured to handle SSL traffic and thus any communication via SSL will fail.
I am currently working on a solution for HTTPS testing, and it will be ready soon...
from laravel-dusk-ci.
I already thought it wasn't going to be that easy, thanks for the effort though it would help me out a lot!
from laravel-dusk-ci.
Hey @nvangijzen here is what have been done so far in :dev
image:
- 443 port is exposed
- Nginx configured with self signed certificate
- New driver args configured in DuskTestCase.php:
'--disable-gpu',
'--headless',
'--no-sandbox',
'--ignore-certificate-errors',
'--start-maximized',
]);
But unfortunately dusk is not passing although wget https://localhost --no-check-certificate
renders properly....
I will investigate it more in depth in some spare time....
from laravel-dusk-ci.
Unfotunately chromedriver argument --ignore-certificate-errors
does not seem to work, which could enable us to proceed with self-signed certificates.
Testing your app without SSL, does not introduce any disadvantages in your dev environments.
Moreover you should test your app without https://
-> performance wise....
SSL termination is usually done by loadbalancers, so there is no need to doublecheck SSL functionality...
You can always embed SSL compliance, by installing proper SSL certificate, for certain site in nginx, using ubuntu commands in your .gitlab-yml
.
Taking into consideration, notes obove, I am closing this issue....
from laravel-dusk-ci.
Related Issues (20)
- Dusk result give a false positive HOT 5
- System Chromedriver version HOT 2
- port to github actions HOT 1
- Nodejs 10 not supported HOT 2
- Docker Compose File Example HOT 1
- PHP Warning: Cannot load module 'http' because required module 'propro' is not loaded in Unknown on line 0 HOT 6
- Images may fail when --coverage-text is enabled. HOT 3
- Permission issue HOT 3
- Imagick not found HOT 1
- PHP7.4 | php-imagick extension not found or not enabled HOT 2
- latest update messes with composer HOT 1
- Can you please rebuild all images to get latest ca-certificates HOT 3
- Failed to open storage/logs/laravel.log: Permission denied HOT 3
- Timeouts in gitlab ci/cd HOT 4
- ERROR: Job failed: exit code 1 on GitLab CI HOT 2
- Scripts fail ^M on latest image HOT 4
- [SEVERE]: bind() failed: Cannot assign requested address (99) HOT 2
- Memory limit? HOT 3
- Multiple runners at same time HOT 2
- Laravel 11 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-dusk-ci.