Skip to content

Commit

Permalink
revert to Appium for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
edoparearyee committed Oct 9, 2015
1 parent 8b9befe commit a224986
Showing 1 changed file with 25 additions and 29 deletions.
54 changes: 25 additions & 29 deletions tests/e2e/protractor.saucelabs.conf.js
Expand Up @@ -27,59 +27,55 @@ exports.config = {
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': pkg.name + ' (Chrome: Linux) Build: ' + process.env.TRAVIS_BUILD_NUMBER,
'version': '45',
'selenium-version': '2.47.1',
'platform': 'Linux'
}, {
},{
'browserName': 'firefox',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': pkg.name + ' (FF: Linux) Build: ' + process.env.TRAVIS_BUILD_NUMBER,
'version': '41',
'selenium-version': '2.47.1',
'platform': 'Linux'
}, {
},{
'browserName': 'safari',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': pkg.name + ' (Safari: OS X 10.11) Build: ' + process.env.TRAVIS_BUILD_NUMBER,
'version': '8.0',
'selenium-version': '2.47.1',
'platform': 'OS X 10.10'
}, {
'version': '8.1',
'platform': 'OS X 10.11'
},{
'browserName': 'internet explorer',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': pkg.name + ' (IE11: Win 8.1) Build: ' + process.env.TRAVIS_BUILD_NUMBER,
'version': '11',
'selenium-version': '2.47.1',
'platform': 'Windows 8.1'
}, {
},{
'browserName': 'internet explorer',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': pkg.name + ' (IE10: Win 8) Build: ' + process.env.TRAVIS_BUILD_NUMBER,
'version': '10',
'selenium-version': '2.47.1',
'platform': 'Windows 8'
}, {
'browserName': 'android',
},{
'browserName': 'Browser',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': pkg.name + ' (Andriod Browser: Android 5.1) Build: ' + process.env.TRAVIS_BUILD_NUMBER,
'version': '5.1',
'name': pkg.name + ' (Android Browser: Android 5.1) Build: ' + process.env.TRAVIS_BUILD_NUMBER,
'platformName': 'Android',
'platformVersion': '5.1',
'deviceName': 'Android Emulator',
'selenium-version': '2.47.1',
'device-orientation': 'portrait'
}, {
'browserName': 'iphone',
'appiumVersion': '1.4.11',
'deviceOrientation': 'portrait'
},{
'browserName': 'Safari',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
'build': process.env.TRAVIS_BUILD_NUMBER,
'name': pkg.name + ' (Safari: iOS 9.0) Build: ' + process.env.TRAVIS_BUILD_NUMBER,
'platform': 'OS X 10.10',
'version': '9',
'name': pkg.name + ' (Safari: iOS 8.2) Build: ' + process.env.TRAVIS_BUILD_NUMBER,
'platformVersion': '8.2',
'platformName': 'iOS',
'deviceName': 'iPhone 6',
'selenium-version': '2.47.1',
'device-orientation': 'portrait'
'appiumVersion': '1.3.7',
'deviceOrientation': 'portrait'
}],

// ----- More information for your tests ----
Expand All @@ -93,11 +89,11 @@ exports.config = {
rootElement: 'body',

onPrepare: function() {
browser.getCapabilities().then(function (cap) {
if ((cap.caps_.platform !== "iOS") && (cap.caps_.platform !== "ANDROID")){
browser.driver.manage().window().setSize(1366, 768)
}
});
// browser.getCapabilities().then(function (cap) {
// if ((cap.caps_.platform !== "iOS") && (cap.caps_.platform !== "ANDROID")){
// browser.driver.manage().window().setSize(1366, 768)
// }
// });
},

// ----- The test framework -----
Expand Down

0 comments on commit a224986

Please sign in to comment.