Skip to content

Commit 0069bbd

Browse files
tests: set a defined window size of 2560x1440
1 parent 4286f97 commit 0069bbd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/wdio.conf.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,9 @@ export const config: WebdriverIO.Config = {
201201
* @param {Array.<String>} specs List of spec file paths that are to be run
202202
* @param {object} browser instance of created browser/device session
203203
*/
204-
// before: function (capabilities, specs) {
205-
// },
204+
before: function (capabilities, specs) {
205+
browser.setWindowSize(2560, 1440);
206+
},
206207
/**
207208
* Runs before a WebdriverIO command gets executed.
208209
* @param {string} commandName hook command name

0 commit comments

Comments
 (0)