UNPKG

graphdb-workbench-tests

Version:
41 lines (38 loc) 1.19 kB
const {defineConfig} = require('cypress'); const isCoverage = process.env.COVERAGE === 'true'; module.exports = defineConfig({ projectId: 'v35btb', fixturesFolder: 'fixtures', screenshotsFolder: 'report/screenshots', videosFolder: 'report/videos', video: true, defaultCommandTimeout: 25000, numTestsKeptInMemory: 10, viewportWidth: 1280, viewportHeight: 720, e2e: { retries: { runMode: 2, openMode: 0 }, // We've imported your old cypress plugins here. // You may want to clean this up later by importing these. setupNodeEvents(on, config) { require('./plugins')(on, config); if (isCoverage) { require('@bahmutov/cypress-code-coverage/plugin')(on, config) } return config; }, baseUrl: 'http://localhost:9000', specPattern: 'e2e-security/**/*.{js,jsx,ts,tsx}', supportFile: 'support/e2e.js', reporter: "cypress-multi-reporters", reporterOptions: { configFile: 'cypress-reporter-config.json' } }, env: { set_default_user_data: true } });