From 73b95838142c02f2c8fee13d85ae2eccbfb2c930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Mon, 20 May 2019 16:28:00 +0200 Subject: [PATCH] Update iOS version, fixing integration tests (#1548) * Update iOS version Seems 10.0 is no longer available, and Sauce threw an Appium version error so i've removed that bit. * is it the screenshots that are slow? * drop os version * test: fix spelling in supportsChooseFile * trying with appiumVersion and iPhone 8 --- test/endtoend/utils.js | 2 +- test/endtoend/wdio.remote.conf.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/endtoend/utils.js b/test/endtoend/utils.js index 77b2f0b3f..73c060844 100644 --- a/test/endtoend/utils.js +++ b/test/endtoend/utils.js @@ -42,7 +42,7 @@ function selectFakeFile (uppyID, name, type, b64) { function supportsChooseFile () { // Webdriver for Safari and Edge doesn’t support .chooseFile - return capabilities.browserName !== 'safari' && + return capabilities.browserName !== 'Safari' && capabilities.browserName !== 'MicrosoftEdge' && capabilities.platformName !== 'Android' } diff --git a/test/endtoend/wdio.remote.conf.js b/test/endtoend/wdio.remote.conf.js index 85fc1e72b..32751a965 100644 --- a/test/endtoend/wdio.remote.conf.js +++ b/test/endtoend/wdio.remote.conf.js @@ -20,7 +20,7 @@ exports.config = Object.assign(base.config, { { browserName: 'MicrosoftEdge', version: '14', platform: 'Windows 10' }, { browserName: 'MicrosoftEdge', version: '17', platform: 'Windows 10' }, // { browserName: 'safari', version: '11.0', platform: 'macOS 10.12' }, - // { browserName: 'safari', version: '10.0', platformName: 'iOS', platformVersion: '10.0', deviceOrientation: 'portrait', deviceName: 'iPhone 6 Simulator', appiumVersion: '1.7.1' }, + // { browserName: 'Safari', platformName: 'iOS', platformVersion: '12.2', deviceOrientation: 'portrait', deviceName: 'iPhone 8 Simulator' }, { browserName: 'chrome', platformName: 'Android', platformVersion: '6.0', deviceOrientation: 'portrait', deviceName: 'Android Emulator' } ].map(createCapability),