1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { defineConfig } from 'cypress'
7 export default defineConfig({
8 chromeWebSecurity: false,
11 downloadsFolder: 'cypress/downloads',
12 videoCompression: false,
14 // We've imported your old cypress plugins here.
15 // You may want to clean this up later by importing these.
16 setupNodeEvents(on, config) {
17 require("cypress-fail-fast/plugin")(on, config);
18 require('./cypress/plugins/index.js')(on, config)
21 baseUrl: 'https://localhost:3000/',
22 experimentalRunAllSpecs: true,
23 // The 2 options below make Electron crash a lot less and Firefox behave better
24 experimentalMemoryManagement: true,
25 numTestsKeptInMemory: 2,