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
This commit is contained in:
Renée Kooi 2019-05-20 16:28:00 +02:00 committed by GitHub
parent 2141aa048f
commit 73b9583814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ function selectFakeFile (uppyID, name, type, b64) {
function supportsChooseFile () {
// Webdriver for Safari and Edge doesnt support .chooseFile
return capabilities.browserName !== 'safari' &&
return capabilities.browserName !== 'Safari' &&
capabilities.browserName !== 'MicrosoftEdge' &&
capabilities.platformName !== 'Android'
}

View file

@ -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),