-
Notifications
You must be signed in to change notification settings - Fork 1
/
cypress.config.js
28 lines (26 loc) · 927 Bytes
/
cypress.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright (c) 2024 Marcel Suter - Replayer
*
* This source code is licensed under the AGPL license found in the
* LICENSE file in the root of this projects source tree.
*
* @licend The above is the entire license notice for the
* JavaScript code in this page
*/
// NOTE: using the .js ending (instead of .ts) solves this issue
// with referencing modules:
// https://github.com/cypress-io/cypress/issues/23552#issuecomment-1456477053
import { defineConfig } from 'cypress';
export default defineConfig({
e2e: {
specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
baseUrl: 'http://localhost:4173',
// Allows to run all specs at once from the UI
experimentalRunAllSpecs: true,
// Only wait 15 secs for page load timeout
pageLoadTimeout: 15000,
},
});