-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrading cypress version * Fixing cypress test * Fixing cypress glob pattern * updating cypress config * Fixing file input test cases * Fixing cypress test * Fixing test * Fixing test cases * Fixing test cases * Renaming spec.js to cy.js file * Fixing test * Fixing flkay test * fixing test
- Loading branch information
Showing
136 changed files
with
3,163 additions
and
2,798 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
const { defineConfig } = require('cypress'); | ||
|
||
module.exports = defineConfig({ | ||
fixturesFolder: 'libs/fixtures', | ||
screenshotsFolder: 'target/screenshots', | ||
videosFolder: 'target/videos', | ||
videoUploadOnPasses: false, | ||
video: true, | ||
chromeWebSecurity: true, | ||
viewportHeight: 900, | ||
viewportWidth: 1440, | ||
pageLoadTimeout: 200000, | ||
defaultCommandTimeout: 10000, | ||
responseTimeout: 120000, | ||
watchForFileChanges: true, | ||
trashAssetsBeforeRuns: true, | ||
reporterEnabled: 'spec, cypress-circleci-reporter', | ||
retries: { | ||
runMode: 2, | ||
openMode: 0, | ||
}, | ||
e2e: { | ||
setupNodeEvents(on, config) { | ||
on('before:browser:launch', (browser = {}, launchOptions) => { | ||
if (browser.family === 'chromium' && browser.name !== 'electron') { | ||
launchOptions.args.push('--start-fullscreen') | ||
|
||
return launchOptions | ||
} | ||
if (browser.name === 'electron') { | ||
launchOptions.preferences.fullscreen = true | ||
return launchOptions | ||
} | ||
}) | ||
config.env.specPattern = 'specs/**/*.cy.{js,jsx,ts,tsx}'; | ||
return require('./libs/plugins/index.js')(on, config); | ||
}, | ||
baseUrl: 'http://localhost:4502', | ||
specPattern: 'specs/**/*.cy.{js,jsx,ts,tsx}', | ||
supportFile: 'libs/support/index.js', | ||
}, | ||
}); |
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
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.