21700: Install Bundler system-wide in Rails postinst
[arvados.git] / services / workbench2 / cypress.config.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { defineConfig } from 'cypress'
6
7 export default defineConfig({
8   chromeWebSecurity: false,
9   viewportWidth: 1920,
10   viewportHeight: 1080,
11   downloadsFolder: 'cypress/downloads',
12   videoCompression: false,
13   e2e: {
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       return require('./cypress/plugins/index.js')(on, config)
18     },
19     baseUrl: 'https://localhost:3000/',
20     experimentalRunAllSpecs: true,
21     // The 2 options below make Electron crash a lot less and Firefox behave better
22     experimentalMemoryManagement: true,
23     numTestsKeptInMemory: 0,
24   },
25 })