2022-06-28 18:07:31 +00:00
|
|
|
const { defineConfig } = require('cypress');
|
|
|
|
module.exports = defineConfig({
|
|
|
|
projectId: 'et4snf',
|
|
|
|
|
|
|
|
e2e: {
|
|
|
|
baseUrl: 'http://localhost:4210',
|
|
|
|
fileServerFolder: '.',
|
2022-08-19 13:39:00 +00:00
|
|
|
fixturesFolder: './src/fixtures',
|
2022-07-18 11:55:31 +00:00
|
|
|
specPattern:
|
|
|
|
process.env.CYPRESS_INCLUDE_FLOWS === 'true' ||
|
|
|
|
process.env.CYPRESS_INCLUDE_FLOWS === true
|
|
|
|
? [
|
|
|
|
'./src/integration/view/**/*.cy.{js,jsx,ts,tsx}',
|
|
|
|
'./src/integration/flow/**/*.cy.{js,jsx,ts,tsx}',
|
|
|
|
]
|
|
|
|
: ['./src/integration/view/**/*.cy.{js,jsx,ts,tsx}'],
|
2022-06-28 18:07:31 +00:00
|
|
|
modifyObstructiveCode: false,
|
|
|
|
supportFile: './src/support/index.ts',
|
|
|
|
video: true,
|
2022-07-08 12:54:56 +00:00
|
|
|
videoUploadOnPasses: false,
|
2022-07-18 08:38:11 +00:00
|
|
|
videosFolder: '../../dist/cypress/apps/token-e2e/videos',
|
|
|
|
screenshotsFolder: '../../dist/cypress/apps/token-e2e/screenshots',
|
2022-06-28 18:07:31 +00:00
|
|
|
chromeWebSecurity: false,
|
2022-07-14 15:49:20 +00:00
|
|
|
viewportWidth: 1440,
|
|
|
|
viewportHeight: 900,
|
2022-09-01 11:25:11 +00:00
|
|
|
numTestsKeptInMemory: 5,
|
2022-06-28 18:07:31 +00:00
|
|
|
},
|
2022-07-08 10:48:51 +00:00
|
|
|
env: {
|
|
|
|
ethProviderUrl: 'http://localhost:8545/',
|
|
|
|
ethWalletPublicKey: '0xEe7D375bcB50C26d52E1A4a472D8822A2A22d94F',
|
2022-07-11 13:32:32 +00:00
|
|
|
ethWalletPublicKeyTruncated: '0xEe7D…d94F',
|
2022-07-08 10:48:51 +00:00
|
|
|
ethStakingBridgeContractAddress:
|
|
|
|
'0x9135f5afd6F055e731bca2348429482eE614CFfA',
|
|
|
|
vegaWalletName: 'capsule_wallet',
|
|
|
|
vegaWalletLocation: '~/.vegacapsule/testnet/wallet',
|
|
|
|
vegaWalletPassphrase: '123',
|
|
|
|
vegaWalletMnemonic:
|
|
|
|
'ozone access unlock valid olympic save include omit supply green clown session',
|
|
|
|
vegaWalletPublicKey:
|
|
|
|
'02eceaba4df2bef76ea10caf728d8a099a2aa846cced25737cccaa9812342f65',
|
|
|
|
vegaWalletPublicKeyShort: '02ecea…2f65',
|
|
|
|
vegaTokenContractAddress: '0xF41bD86d462D36b997C0bbb4D97a0a3382f205B7',
|
|
|
|
vegaTokenAddress: '0x67175Da1D5e966e40D11c4B2519392B2058373de',
|
2022-08-31 14:31:00 +00:00
|
|
|
txTimeout: { timeout: 70000 },
|
2022-09-16 17:12:08 +00:00
|
|
|
epochTimeout: { timeout: 6000 },
|
2022-08-23 17:27:43 +00:00
|
|
|
blockConfirmations: 3,
|
2022-09-16 17:12:08 +00:00
|
|
|
CYPRESS_TEARDOWN_NETWORK_AFTER_FLOWS: true,
|
2022-07-08 10:48:51 +00:00
|
|
|
},
|
2022-06-28 18:07:31 +00:00
|
|
|
});
|