backend/e2e/conf/edge-legacy.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 port: 4446,
8 capabilities: [
9 {
10 // MicrosoftWebDriver supports no parallel sessions:
11 maxInstances: 1,
12 browserName: 'MicrosoftEdge',
13 },
14 ],
15 videos: {
16 enabled: true,
17 inputFormat: 'mjpeg',
18 startDelay: 500,
19 stopDelay: 500,
20 },
21 // Disable maximizeWindow since it is broken for Edge Legacy webdriver:
22 maximizeWindow: false,
23 // Disable file uploads as Edge Legacy webdriver does not support it:
24 assetsDir: null,
25};
26
27exports.config = Object.assign({}, require('./chrome').config, config);