-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run e2e tests in both Chrome and Electron (#5359)
* Update circle.yml to run e2e tests in chrome + electron * WIP: create multiple tests per browser, but utilizing the same base snapshot - create a dynamic test title with browser appended - use a base named snapshot without the browser name appended - patch snap-shot-it not to rethrow twice unnecessarily which ends up throwing the wrong error * Add e2e.coffee to stop-only ignore * Convert existing x-browser e2e tests to use e2e.it * update snapshots * really add e2e to stop-only skip * Replace screenshot dimensions in all tests, run only in process.env.BROWSER * add e2e.it to more tests that should be x-browser * update snapshots * PEMDAS * default e2e browser -> electron Run afterEaches when skipping testo Recurse upwards with runAfterEach stop promise chains * Revert "default e2e browser -> electron" This reverts commit 3104f99. * Undo * [email protected] * Remove snap-shot-it patch * Change e2e snapshot to use allowSharedSnapshot * Add keepScreenshotDimensions to screenshot specs * update snapshots * fix snapshotit * keepScreenshotDimensions: true -> sanitizeScreenshotDimensions: false * Fix screenshot snapshots * reduce snapshot noise * rm 0_simple_spec * deabstract circle.yml command * fix circle.yml * reduce snapshot noise * clean up 6_visit_spec snapshot * use allowSharedSnapshot: true in 5_spec_isolation * Fix 5_screenshots, 2_form_submissions * Normalize screenshot sizes in 5_spec_isolation snapshot * Add sanitizeScreenshotDimensions only to non-e2e-project tests Add --window-size=1280,720 --kiosk to chrome args * update snapshots * Use e2e.it for chrome/electron-specific tests * handle logic for skipping tests when default browsers do not match specified browser - implement e2e.it.skip to match mocha’s it.skip - allow turning off dynamic test generation Co-authored-by: Brian Mann <[email protected]>
- Loading branch information
1 parent
868dc83
commit 561bd21
Showing
75 changed files
with
720 additions
and
1,071 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
561bd21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
linux x64
version of the Test Runner.You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.
You will need to use custom
CYPRESS_INSTALL_BINARY
url and install Cypress using an url instead of the version.561bd21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AppVeyor has built the
win32 ia32
version of the Test Runner.You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.
You will need to use custom
CYPRESS_INSTALL_BINARY
url and install Cypress using an url instead of the version.561bd21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AppVeyor has built the
win32 x64
version of the Test Runner.You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.
You will need to use custom
CYPRESS_INSTALL_BINARY
url and install Cypress using an url instead of the version.561bd21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
darwin x64
version of the Test Runner.You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.
You will need to use custom
CYPRESS_INSTALL_BINARY
url and install Cypress using an url instead of the version.