]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/cypress.config.ts
add stop-gap to fix compat with CPUs not supporting SSE 4.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress.config.ts
1 import { defineConfig } from 'cypress'
2
3 export default defineConfig({
4 video: true,
5 videoUploadOnPasses: false,
6 defaultCommandTimeout: 120000,
7 responseTimeout: 45000,
8 viewportHeight: 1080,
9 viewportWidth: 1920,
10 projectId: 'k7ab29',
11 reporter: 'cypress-multi-reporters',
12 reporterOptions: {
13 reporterEnabled: 'spec, mocha-junit-reporter',
14 mochaJunitReporterReporterOptions: {
15 mochaFile: 'cypress/reports/results-[hash].xml',
16 },
17 },
18 retries: 1,
19 env: {
20 LOGIN_USER: 'admin',
21 LOGIN_PWD: 'admin',
22 CEPH2_URL: 'https://localhost:4202/',
23 },
24 chromeWebSecurity: false,
25 eyesIsDisabled: false,
26 eyesFailCypressOnDiff: true,
27 eyesDisableBrowserFetching: false,
28 eyesLegacyHooks: true,
29 eyesTestConcurrency: 5,
30 eyesPort: 35321,
31 e2e: {
32 // We've imported your old cypress plugins here.
33 // You may want to clean this up later by importing these.
34 setupNodeEvents(on, config) {
35 return require('./cypress/plugins/index.js')(on, config)
36 },
37 baseUrl: 'https://localhost:4200/',
38 excludeSpecPattern: ['*.po.ts', '**/orchestrator/**'],
39 experimentalSessionAndOrigin: true,
40 specPattern: 'cypress/e2e/**/*-spec.{js,jsx,ts,tsx}',
41 },
42 })