diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0cea995487..8623beb1a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -108,7 +108,6 @@ jobs: cypress-test-matrix: needs: [build-e2e, cypress-rerun] runs-on: ubuntu-latest - container: cypress/browsers:node-18.14.1-chrome-111.0.5563.64-1-ff-111.0-edge-111.0.1661.43-1 strategy: fail-fast: false matrix: @@ -142,7 +141,7 @@ jobs: parallel: true start: yarn serve wait-on: 'http://localhost:3000' - browser: chrome + browser: electron group: e2e env: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} diff --git a/cypress.config.ts b/cypress.config.ts index 59146e3ee5..48223fc251 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -25,12 +25,7 @@ export default defineConfig({ } }) - return { - ...config, - // Only enable Chrome. - // Electron (the default) has issues injecting window.ethereum before pageload, so it is not viable. - browsers: config.browsers.filter(({ name }) => name === 'chrome'), - } + return config }, baseUrl: 'http://localhost:3000', specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',