-
Notifications
You must be signed in to change notification settings - Fork 147
/
Copy pathwdio.conf.ts
41 lines (37 loc) · 996 Bytes
/
wdio.conf.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
35
36
37
38
39
40
41
export const config: WebdriverIO.Config = {
baseUrl: process.env.II_DAPP_URL || "http://localhost:5173",
waitforTimeout: 10_000,
autoCompileOpts: {
autoCompile: true,
tsNodeOpts: {
transpileOnly: true,
project: "tsconfig.json",
},
},
specs: ["./specs/**/*.ts"],
exclude: [],
capabilities: [
{
browserName: "chrome",
browserVersion: "133.0.6943.53", // More information about available versions can be found here: https://github.com/GoogleChromeLabs/chrome-for-testing
"goog:chromeOptions": {
args: [
"headless",
"disable-gpu",
"disable-dev-shm-usage",
// Required for CI runners using >=Ubuntu 24.04
// @see https://github.com/SeleniumHQ/selenium/issues/14609
"--no-sandbox",
],
},
acceptInsecureCerts: true,
},
],
logLevel: "info",
framework: "mocha",
reporters: ["spec"],
mochaOpts: {
ui: "bdd",
timeout: 60000,
},
};