-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.ts
34 lines (32 loc) · 1.04 KB
/
cypress.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { defineConfig } from 'cypress'
export const envVariables = {
cypressDownloadPath: './cypress/downloads/download.json',
cypressDownloadBeamPath: './cypress/downloads/untitled.beam',
cypressDownloadNewBeamPath: './cypress/downloads/untitled.beam',
cypressDownloadBvgPath: './cypress/downloads/untitled.bvg',
cypressDownloadSvgPath: './cypress/downloads/untitled.svg',
cypressDownloadPngPath: './cypress/downloads/untitled.png',
cypressDownloadJpgPath: './cypress/downloads/untitled.jpeg',
username: 'beam-studio-web@flux3dp.com',
password: 'Flux42642569',
envType: 'local',
backendIP: '192.168.1.114',
machineName: 'beamo (Adam)',
adorName: 'Ador (Cruz)',
};
export default defineConfig({
projectId: 'fc84dg',
env: envVariables,
e2e: {
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.ts')(on, config)
},
baseUrl: 'http://localhost:8080',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
retries: {
runMode: 3,
openMode: 1,
},
defaultCommandTimeout: 7000,
})