Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

environmentType for iOS has wrong flags #62

Open
wkeese opened this issue Sep 29, 2015 · 5 comments
Open

environmentType for iOS has wrong flags #62

wkeese opened this issue Sep 29, 2015 · 5 comments

Comments

@wkeese
Copy link

wkeese commented Sep 29, 2015

Using the environment of:

{ browserName: "iphone", platform: "OS X 10.10", version: "9.0", deviceName: "iPad Retina"}

against iOS on SauceLabs, I get weird environmentType settings, specifically that:

  1. touchEnabled is false
  2. mouseEnabled is true
@dylans
Copy link

dylans commented Sep 29, 2015

It would help to know if you are trying to test the iOS emulator, or against appium? Looking at https://docs.saucelabs.com/tutorials/appium/#setting-desired-capabilities-for-mobile-tests , it sounds like the settings provided are triggering the desktop capabilities instead of mobile, but it would help to make sure we understand what you're trying to test with this environment to see if this is a bug or just a mismatch in the config.

@wkeese
Copy link
Author

wkeese commented Sep 29, 2015

I don't really understand your question. I'm testing if my software runs correctly on iphones and ipads.

@dylans
Copy link

dylans commented Sep 29, 2015

Your configuration specified a platform of OS X 10.10, a browserName of iPhone, and a deviceName of an iPad Retina. That didn't seem consistent to me with the parameters that SauceLabs would expect... I think the OS X 10.10 in particular is triggering the desktop events.

@wkeese
Copy link
Author

wkeese commented Sep 29, 2015

OK, what configuration should I use? (I agree that specifying an environment for iOS is confusing, and I'd prefer if I could just say something like {platformName: "iOS"}, but I don't think that works.)

See also http://stackoverflow.com/questions/32727704/how-to-run-ios-browser-tests-on-saucelabs-from-intern-3, http://stackoverflow.com/questions/20184790/how-do-i-run-an-intern-against-appium-ios-simulator, and http://stackoverflow.com/questions/25537480/how-do-i-run-an-intern-test-against-ios-and-android-on-browserstack.

@wkeese
Copy link
Author

wkeese commented Jun 28, 2016

Note that the following configuration also has the same failure:

{ browserName: "iphone", version: "9.0", deviceName: "iPad Retina"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants