2022-06-28 18:07:31 +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-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,
|
2022-06-28 18:07:31 +00:00
|
|
|
},
|
|
|
|
env: {
|
|
|
|
environment: 'CUSTOM',
|
2022-07-18 10:52:26 +00:00
|
|
|
networkQueryUrl: 'http://localhost:3028/query',
|
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
|
|
|
},
|
|
|
|
});
|