backend/e2e/conf/edge.js (view raw)
1'use strict';
2
3/* eslint-disable jsdoc/valid-types */
4/** @type WebdriverIO.Config */
5const config = {
6 hostname: process.env.WINDOWS_HOST || 'host.docker.internal',
7 capabilities: [
8 {
9 // Set maxInstances to 1 if screen recordings are enabled:
10 // maxInstances: 1,
11 browserName: 'MicrosoftEdge',
12 },
13 ],
14 videos: {
15 enabled: false,
16 inputFormat: 'mjpeg',
17 startDelay: 500,
18 stopDelay: 500,
19 },
20 assetsDir: process.env.WINDOWS_ASSETS_DIR || process.env.MACOS_ASSETS_DIR,
21};
22
23exports.config = Object.assign({}, require('./chrome').config, config);