feat(tests): change cypress default viewport size
This commit is contained in:
parent
e8705c66dd
commit
97e6147351
1 changed files with 21 additions and 19 deletions
|
@ -1,23 +1,25 @@
|
||||||
import { defineConfig } from 'cypress'
|
import {defineConfig} from 'cypress'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
env: {
|
env: {
|
||||||
API_URL: 'http://localhost:3456/api/v1',
|
API_URL: 'http://localhost:3456/api/v1',
|
||||||
TEST_SECRET: 'averyLongSecretToSe33dtheDB',
|
TEST_SECRET: 'averyLongSecretToSe33dtheDB',
|
||||||
},
|
},
|
||||||
video: false,
|
video: false,
|
||||||
retries: {
|
retries: {
|
||||||
runMode: 2,
|
runMode: 2,
|
||||||
},
|
},
|
||||||
projectId: '181c7x',
|
projectId: '181c7x',
|
||||||
e2e: {
|
e2e: {
|
||||||
baseUrl: 'http://localhost:4173',
|
baseUrl: 'http://localhost:4173',
|
||||||
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
||||||
},
|
},
|
||||||
component: {
|
component: {
|
||||||
devServer: {
|
devServer: {
|
||||||
framework: 'vue',
|
framework: 'vue',
|
||||||
bundler: 'vite',
|
bundler: 'vite',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
viewportWidth: 1600,
|
||||||
|
viewportHeight: 900,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue