2022-09-14 01:43:07 +01:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
|
|
const { defineConfig } = require('cypress');
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
|
|
|
testConcurrency: 1,
|
|
|
|
browser: [
|
|
|
|
// Add browsers with different viewports
|
|
|
|
// { width: 800, height: 600, name: 'chrome' },
|
|
|
|
// { width: 700, height: 500, name: 'firefox' },
|
|
|
|
// { width: 1600, height: 1200, name: 'ie11' },
|
|
|
|
// { width: 1024, height: 768, name: 'edgechromium' },
|
|
|
|
// { width: 800, height: 600, name: 'safari' },
|
|
|
|
// // Add mobile emulation devices in Portrait mode
|
|
|
|
// { deviceName: 'iPhone X', screenOrientation: 'portrait' },
|
|
|
|
// { deviceName: 'Pixel 2', screenOrientation: 'portrait' },
|
|
|
|
],
|
|
|
|
// set batch name to the configuration
|
2022-11-04 13:05:46 +01:00
|
|
|
// batchName: `Mermaid ${process.env.APPLI_BRANCH ?? "'no APPLI_BRANCH set'"}`,
|
2022-09-14 01:43:07 +01:00
|
|
|
});
|