fix(cypress): Re-introduce Firefox in Cypress CI (#40440)

* Revert "chore: drop firefox for intermittent fails"

This reverts commit 704beb2260.

* Increase timeout for Cypress learn log output test
This commit is contained in:
Twaha Rahman
2020-12-14 23:50:48 +06:00
committed by GitHub
parent 1f65b3b7eb
commit 45fe3d8814
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
browsers: [chrome]
browsers: [chrome, firefox]
services:
mongodb:
image: mongo:3.6.19

View File

@ -40,7 +40,7 @@ describe('Classic challenge', function() {
it('shows test output when the tests are run', () => {
cy.visit(locations.index);
// first wait for the editor to load
cy.get(selectors.editor, { timeout: 10000 });
cy.get(selectors.editor, { timeout: 15000 });
cy.get(selectors.runTestsButton)
.click()
.then(() => {
@ -53,7 +53,7 @@ describe('Classic challenge', function() {
it('shows test output when the tests are triggered by the keyboard', () => {
cy.visit(locations.index);
// first wait for the editor to load
cy.get(selectors.editor, { timeout: 10000 });
cy.get(selectors.editor, { timeout: 15000 });
cy.get(selectors.hotkeys)
.focus()
.type('{ctrl}{enter}')