-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* install the latest version / cypress.json to cypress.config.js * add experimentalRunAllSpecs in the config * fix the style-linter err * makes sure all test-suites pass * increase the timeout limit for large-group test-suite * fix docIframe related err * fix linter er * update comment * IN_GITHUB_ACTIONS env variable for GA * remove bypassUI to track down what exactly happens * some test line for JOINED_GROUP constant * revert all * Debug * Debug 2 * Locale logging * Fix locale * Remove unsafe .clear().type() chaining * Remove unsafe .clear().type() chaining, take 2 * Add force: true * Remove debug logging and deprecated Cypress option --------- Co-authored-by: SebinSong <[email protected]>
- Loading branch information
Showing
19 changed files
with
6,714 additions
and
6,207 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
const { defineConfig } = require('cypress') | ||
|
||
module.exports = defineConfig({ | ||
viewportWidth: 1201, | ||
viewportHeight: 900, | ||
defaultCommandTimeout: 45000, | ||
fixturesFolder: 'test/cypress/fixtures', | ||
screenshotsFolder: 'test/cypress/screenshots', | ||
videosFolder: 'test/cypress/videos', | ||
video: true, | ||
trashAssetsBeforeRuns: true, | ||
projectId: 'q6whky', | ||
experimentalMemoryManagement: true, | ||
// NOTE: When running 'cypress open' on a browser, high memory usage often leads to crashing the browser. | ||
// So setting 'numTestsKeptInMemory' to 0 here. (reference: https://docs.cypress.io/guides/references/configuration#Global) | ||
numTestsKeptInMemory: 0, | ||
e2e: { | ||
// We've imported your old cypress plugins here. | ||
// You may want to clean this up later by importing these. | ||
setupNodeEvents (on, config) { | ||
return require('./test/cypress/plugins')(on, config) | ||
}, | ||
baseUrl: 'http://localhost:8000', | ||
specPattern: 'test/cypress/integration/**/*.{js,jsx,ts,tsx}', | ||
supportFile: 'test/cypress/support/index.js', | ||
testIsolation: false, | ||
experimentalRunAllSpecs: true // reference: https://www.cypress.io/blog/check-out-our-experimental-release-of-run-all-specs | ||
} | ||
}) |
This file was deleted.
Oops, something went wrong.
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.