Skip to content

Commit

Permalink
Moved retries to env var in Github Action workflow (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjaap authored Oct 7, 2022
1 parent 473146b commit e6ba822
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ jobs:
CYPRESS_MAGENTO2_BASE_URL: 'https://hyva-demo.elgentos.io'
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CYPRESS_VIDEO_COMPRESSION: 0
CYPRESS_RETRIES: 3
1 change: 0 additions & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module.exports = defineConfig({
excludeSpecPattern: process.env.CYPRESS_MAGENTO2_EXCLUDE_PATTERN || envConfig.MAGENTO2_EXCLUDE_PATTERN || '',
defaultCommandTimeout: parseInt(process.env.CYPRESS_MAGENTO2_DEFAULT_TIMEOUT || envConfig.MAGENTO2_DEFAULT_TIMEOUT || defaultCommandTimeout),
videoUploadOnPasses: !! (process.env.CYPRESS_VIDEO_UPLOAD_ON_PASSES || envConfig.VIDEO_UPLOAD_ON_PASSES || false),
retries: 3,
watchForFileChanges: false,
supportFile: 'cypress/support/index.js',
viewportWidth: 1920,
Expand Down

0 comments on commit e6ba822

Please sign in to comment.