2022-06-28 18:07:31 +00:00
|
|
|
const { defineConfig } = require('cypress');
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
|
|
|
projectId: 'et4snf',
|
|
|
|
|
|
|
|
e2e: {
|
|
|
|
baseUrl: 'http://localhost:3000',
|
|
|
|
fileServerFolder: '.',
|
|
|
|
fixturesFolder: false,
|
2022-07-13 10:17:10 +00:00
|
|
|
specPattern: '**/*.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-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',
|
|
|
|
ethUrl: 'https://ropsten.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8',
|
|
|
|
commitHash: 'dev',
|
2022-06-28 18:07:31 +00:00
|
|
|
tsConfig: 'tsconfig.json',
|
|
|
|
},
|
|
|
|
});
|