fix(tests): run e2e tests on Chrome and Firefox (#39568)
* Add scripts for Cypress to run on other browsers * Run Cypress on different browsers in workflow * Install Brave and run it in Cypress * Run Cypress on only CHrome and FIrefox * Revert Cypress plugin
This commit is contained in:
5
.github/workflows/cypress.yml
vendored
5
.github/workflows/cypress.yml
vendored
@ -15,6 +15,9 @@ jobs:
|
|||||||
# This installs it specifically in the CI runs.
|
# This installs it specifically in the CI runs.
|
||||||
CYPRESS_INSTALL_BINARY: '4.11.0'
|
CYPRESS_INSTALL_BINARY: '4.11.0'
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
browsers: [chrome, firefox]
|
||||||
services:
|
services:
|
||||||
mongodb:
|
mongodb:
|
||||||
image: mongo:3.6.19
|
image: mongo:3.6.19
|
||||||
@ -54,3 +57,5 @@ jobs:
|
|||||||
# left for testing.
|
# left for testing.
|
||||||
wait-on-timeout: 1200
|
wait-on-timeout: 1200
|
||||||
config: baseUrl=http://localhost:8000
|
config: baseUrl=http://localhost:8000
|
||||||
|
browser: ${{ matrix.browsers }}
|
||||||
|
headless: true
|
||||||
|
Reference in New Issue
Block a user