Oppdaterer landingsside tester

This commit is contained in:
Sindre Kjelsrud 2023-08-04 12:15:18 +02:00
parent f303081d4e
commit 2fb4a478bd
5 changed files with 77 additions and 60 deletions

View file

@ -1,9 +1,20 @@
import { defineConfig } from "cypress";
import { plugin } from "./cypress/plugins/index";
export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
},
viewportHeight: 1300,
viewportWidth: 1800,
requestTimeout: 10000,
defaultCommandTimeout: 10000,
video: false,
retries: {
runMode: 2,
},
});
e2e: {
//@ts-ignore
setupNodeEvents(on, config) {
return plugin(on, config);
},
baseUrl: "http://localhost:5173",
},
});