ruffle/web/packages/selfhosted/wdio.conf.ts

47 lines
1.1 KiB
TypeScript
Raw Normal View History

import type { Options } from "@wdio/types";
export const config: Options.Testrunner = {
2020-05-23 09:43:22 +00:00
runner: "local",
specs: [
"./test/polyfill/**/test.ts",
"./test/js_api/*.ts",
"./test/integration_tests/**/test.ts",
],
2020-05-23 09:43:22 +00:00
maxInstances: 10,
capabilities: [
{
"wdio:maxInstances": 5,
2020-05-23 09:43:22 +00:00
browserName: "chrome",
"goog:chromeOptions": {
args: ["--headless", "--disable-gpu"],
},
},
],
logLevel: "info",
bail: 0,
baseUrl: "http://localhost",
waitforTimeout: 30000,
2020-05-23 09:43:22 +00:00
connectionRetryTimeout: 120000,
connectionRetryCount: 3,
services: [
"chromedriver",
[
"static-server",
{
folders: [
{ mount: "/dist", path: "./dist" },
{ mount: "/test_assets", path: "./test_assets" },
{ mount: "/test", path: "./test" },
],
port: 4567,
},
],
],
framework: "mocha",
reporters: ["spec"],
mochaOpts: {
ui: "bdd",
timeout: 120000,
2020-05-23 09:43:22 +00:00
},
};