screenshots: Run on Windows 10, try to fix resolution

T141369 still applies apparently, so switch back to Windows 10.

Switching to Linux did fix the screen resolution, so try setting
one manually instead.

Change-Id: I3d42fd972f1dbad4302cac1e7e5f052b6cfdb600
This commit is contained in:
Ed Sanders 2020-06-27 17:42:41 +01:00
parent a6d0ca80cf
commit 458775cc94
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@ function createScreenshotEnvironment( test ) {
driver = new webdriver.Builder().withCapabilities( { driver = new webdriver.Builder().withCapabilities( {
browserName: process.env.BROWSER, browserName: process.env.BROWSER,
platform: process.env.PLATFORM, platform: process.env.PLATFORM,
screenResolution: '1280x1024',
username: username, username: username,
accessKey: accessKey accessKey: accessKey
} ).usingServer( 'http://' + username + ':' + accessKey + } ).usingServer( 'http://' + username + ':' + accessKey +

View file

@ -2,4 +2,4 @@ BROWSER:
- chrome - chrome
PLATFORM: PLATFORM:
- Linux - Windows 10