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

Docs for testing locally running websites on Android/iOS real device #212

Open
garg3133 opened this issue Nov 11, 2022 · 0 comments
Open

Comments

@garg3133
Copy link
Member

If a user is testing their website, which is running locally on their system, on Android or iOS real device, they can't do so out of the box in Nightwatch, but need to follow some steps:

  • Make sure their website is available on their local network.
  • Make sure their system and the phone their testing on are connected to the same network.
  • Add launch_url property to their Nightwatch conf env being used to run test on Android/iOS real device and use that launch_url inside their tests.

So, we need to have some documentation related to it.

On a side note, while the locally hosted website tests work out of the box for iOS Simulators and support for Android Emulator was added in this PR, the Android PR won't work if users have put the URLs in their tests itself. So, we should somehow suggest them to use launch_url property in Nightwatch config while writing tests for locally hosted websites to be run on mobile devices.

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

No branches or pull requests

2 participants