2022-09-15 15:37:02 +00:00
|
|
|
const { defineConfig } = require('cypress');
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
|
|
|
projectId: 'et4snf',
|
|
|
|
|
|
|
|
e2e: {
|
2022-09-22 17:40:11 +00:00
|
|
|
setupNodeEvents(on, config) {
|
|
|
|
require('cypress-grep/src/plugin')(config);
|
|
|
|
return config;
|
|
|
|
},
|
2022-09-15 15:37:02 +00:00
|
|
|
baseUrl: 'http://localhost:4200',
|
|
|
|
fileServerFolder: '.',
|
|
|
|
fixturesFolder: false,
|
|
|
|
specPattern: './src/integration/*.ts',
|
|
|
|
excludeSpecPattern: '**/*.js',
|
|
|
|
modifyObstructiveCode: false,
|
2022-09-22 17:40:11 +00:00
|
|
|
supportFile: './src/support/index.js',
|
2022-09-22 14:07:18 +00:00
|
|
|
video: false,
|
2022-09-15 15:37:02 +00:00
|
|
|
videoUploadOnPasses: false,
|
|
|
|
videosFolder:
|
|
|
|
'../../dist/cypress/apps/liquidity-provision-dashboard-e2e/videos',
|
|
|
|
screenshotsFolder:
|
|
|
|
'../../dist/cypress/apps/liquidity-provision-dashboard-e2e/screenshots',
|
|
|
|
chromeWebSecurity: false,
|
|
|
|
viewportWidth: 1440,
|
|
|
|
viewportHeight: 900,
|
|
|
|
},
|
2022-09-22 17:40:11 +00:00
|
|
|
env: {
|
|
|
|
grepTags: '@regression @smoke @slow',
|
|
|
|
grepFilterSpecs: true,
|
|
|
|
grepOmitFiltered: true,
|
|
|
|
},
|
2022-09-15 15:37:02 +00:00
|
|
|
});
|