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:
Twaha Rahman 2020-09-14 13:07:00 +06:00 committed by GitHub
parent 5cb609dc5c
commit 40a190318b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,9 @@ jobs:
# This installs it specifically in the CI runs.
CYPRESS_INSTALL_BINARY: '4.11.0'
runs-on: ubuntu-18.04
strategy:
matrix:
browsers: [chrome, firefox]
services:
mongodb:
image: mongo:3.6.19
@ -54,3 +57,5 @@ jobs:
# left for testing.
wait-on-timeout: 1200
config: baseUrl=http://localhost:8000
browser: ${{ matrix.browsers }}
headless: true