forked from twilio-labs/paste
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcypress.config.e2e.ts
34 lines (33 loc) · 934 Bytes
/
cypress.config.e2e.ts
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
29
30
31
32
33
34
import { defineConfig } from "cypress";
// eslint-disable-next-line import/no-default-export
// Cypress config to only run the site e2e tests, excluding the VRT tests.
export default defineConfig({
e2e: {
baseUrl: "http://localhost:3000",
env: {
USE_CYPRESS_VRT: process.env.USE_CYPRESS_VRT,
CYPRESS_BASE_URL: process.env.CYPRESS_BASE_URL,
OPENAI_API_SECRET: process.env.OPENAI_API_SECRET,
},
viewportWidth: 1440,
viewportHeight: 1440,
projectId: "pe4h41",
retries: {
runMode: 2,
openMode: 2,
},
video: false,
blockHosts: [
"*.google-analytics.com",
"*.codesandbox.io",
"codesandbox.io",
"*.loom.com",
"*.youtube.com",
"*.github.com",
"*.googletagmanager.com",
],
specPattern: ["cypress/**/*.spec.ts"],
excludeSpecPattern: ["cypress/integration/sitemap-vrt/**/*"],
defaultCommandTimeout: 6000,
},
});