From 40a190318b9f6603e0922139ec82a429aab951d4 Mon Sep 17 00:00:00 2001 From: Twaha Rahman <39026437+Twaha-Rahman@users.noreply.github.com> Date: Mon, 14 Sep 2020 13:07:00 +0600 Subject: [PATCH] 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 --- .github/workflows/cypress.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 942fd4f299..30407fa8a3 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -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