4d9c43cf19
* chore: disable video record for token e2e * chore: disable videos in all tests * fix: change main-branch-name to base-ref * chore: disable capsule being run when not necessary * fix: missing true * chore: fix typo * chore: fix if contruction * chore: fix env * chore: fix envs * chore: try to fix develop ref
29 lines
827 B
JavaScript
29 lines
827 B
JavaScript
const { defineConfig } = require('cypress');
|
|
|
|
module.exports = defineConfig({
|
|
projectId: 'et4snf',
|
|
|
|
e2e: {
|
|
baseUrl: 'http://localhost:3000',
|
|
fileServerFolder: '.',
|
|
fixturesFolder: false,
|
|
specPattern: '**/*.cy.{js,jsx,ts,tsx}',
|
|
modifyObstructiveCode: false,
|
|
supportFile: './src/support/index.ts',
|
|
video: false,
|
|
videoUploadOnPasses: false,
|
|
videosFolder: '../../dist/cypress/apps/explorer-e2e/videos',
|
|
screenshotsFolder: '../../dist/cypress/apps/explorer-e2e/screenshots',
|
|
chromeWebSecurity: false,
|
|
viewportWidth: 1440,
|
|
viewportHeight: 900,
|
|
},
|
|
env: {
|
|
environment: 'CUSTOM',
|
|
networkQueryUrl: 'http://localhost:3028/query',
|
|
ethUrl: 'https://ropsten.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8',
|
|
commitHash: 'dev',
|
|
tsConfig: 'tsconfig.json',
|
|
},
|
|
});
|