2022-06-28 18:07:31 +00:00
|
|
|
const { defineConfig } = require('cypress');
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
2023-05-17 15:21:10 +00:00
|
|
|
reporter: '../../node_modules/cypress-mochawesome-reporter',
|
2022-06-28 18:07:31 +00:00
|
|
|
|
|
|
|
e2e: {
|
2022-09-22 17:40:11 +00:00
|
|
|
setupNodeEvents(on, config) {
|
2023-05-17 15:21:10 +00:00
|
|
|
require('cypress-mochawesome-reporter/plugin')(on);
|
2022-11-30 12:32:01 +00:00
|
|
|
require('@cypress/grep/src/plugin')(config);
|
2022-09-22 17:40:11 +00:00
|
|
|
return config;
|
|
|
|
},
|
2022-06-28 18:07:31 +00:00
|
|
|
baseUrl: 'http://localhost:3000',
|
|
|
|
fileServerFolder: '.',
|
2022-10-10 09:35:43 +00:00
|
|
|
fixturesFolder: './src/fixtures',
|
2022-07-13 10:17:10 +00:00
|
|
|
specPattern: '**/*.cy.{js,jsx,ts,tsx}',
|
2022-06-28 18:07:31 +00:00
|
|
|
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-07-08 12:54:56 +00:00
|
|
|
videoUploadOnPasses: false,
|
2022-06-28 18:07:31 +00:00
|
|
|
videosFolder: '../../dist/cypress/apps/explorer-e2e/videos',
|
|
|
|
screenshotsFolder: '../../dist/cypress/apps/explorer-e2e/screenshots',
|
|
|
|
chromeWebSecurity: false,
|
2022-07-14 15:49:20 +00:00
|
|
|
viewportWidth: 1440,
|
|
|
|
viewportHeight: 900,
|
2023-04-20 11:56:33 +00:00
|
|
|
testIsolation: false,
|
2023-08-15 11:26:13 +00:00
|
|
|
experimentalMemoryManagement: true,
|
2022-06-28 18:07:31 +00:00
|
|
|
},
|
|
|
|
env: {
|
|
|
|
environment: 'CUSTOM',
|
2023-04-27 13:37:55 +00:00
|
|
|
networkQueryUrl: 'http://localhost:3008/graphql',
|
2022-10-04 22:24:27 +00:00
|
|
|
ethUrl: 'https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8',
|
2022-07-18 10:52:26 +00:00
|
|
|
commitHash: 'dev',
|
2022-06-28 18:07:31 +00:00
|
|
|
tsConfig: 'tsconfig.json',
|
2022-09-22 17:40:11 +00:00
|
|
|
grepTags: '@regression @smoke @slow',
|
|
|
|
grepFilterSpecs: true,
|
|
|
|
grepOmitFiltered: true,
|
2022-10-03 08:50:36 +00:00
|
|
|
vegaWalletName: 'capsule_wallet',
|
|
|
|
vegaWalletLocation: '~/.vegacapsule/testnet/wallet',
|
|
|
|
vegaWalletPublicKey:
|
|
|
|
'02eceaba4df2bef76ea10caf728d8a099a2aa846cced25737cccaa9812342f65',
|
2022-06-28 18:07:31 +00:00
|
|
|
},
|
|
|
|
});
|