From 97e6147351fb73c7cefa11eb9ec1a3f3076ba2b8 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 12 Jul 2022 09:09:26 +0200 Subject: [PATCH] feat(tests): change cypress default viewport size --- cypress.config.ts | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/cypress.config.ts b/cypress.config.ts index 93c311af..ce74e11f 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -1,23 +1,25 @@ -import { defineConfig } from 'cypress' +import {defineConfig} from 'cypress' export default defineConfig({ - env: { - API_URL: 'http://localhost:3456/api/v1', - TEST_SECRET: 'averyLongSecretToSe33dtheDB', - }, - video: false, - retries: { - runMode: 2, - }, - projectId: '181c7x', - e2e: { - baseUrl: 'http://localhost:4173', - specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', - }, + env: { + API_URL: 'http://localhost:3456/api/v1', + TEST_SECRET: 'averyLongSecretToSe33dtheDB', + }, + video: false, + retries: { + runMode: 2, + }, + projectId: '181c7x', + e2e: { + baseUrl: 'http://localhost:4173', + specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', + }, component: { - devServer: { - framework: 'vue', - bundler: 'vite', - }, - }, + devServer: { + framework: 'vue', + bundler: 'vite', + }, + }, + viewportWidth: 1600, + viewportHeight: 900, })