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

Add a possibility to handle the 'Know your location' dialog in tests #3224

Closed
miherlosev opened this issue Dec 13, 2018 · 7 comments
Closed
Assignees
Labels
Milestone

Comments

@miherlosev
Copy link
Collaborator

image

@miherlosev miherlosev added TYPE: enhancement The accepted proposal for future implementation. SYSTEM: API labels Dec 13, 2018
@miherlosev miherlosev added this to the Planned milestone Dec 13, 2018
@miherlosev
Copy link
Collaborator Author

#1991

@miherlosev miherlosev changed the title Allow to handle the 'Know your location' dialog in tests Add a possibility to handle the 'Know your location' dialog in tests Dec 13, 2018
@stale
Copy link

stale bot commented Oct 30, 2020

This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.

@stale stale bot added the STATE: Stale An outdated issue that will be automatically closed by the Stale bot. label Oct 30, 2020
@stale
Copy link

stale bot commented Nov 9, 2020

We're closing this issue after a prolonged period of inactivity. If it still affects you, please create a new issue with up-to-date information. Thank you.

@stale stale bot closed this as completed Nov 9, 2020
Enhancements processing automation moved this from Web API to Closed Nov 9, 2020
@kmistry27
Copy link

I am having this issue at the moment.

The .setNativeDialogHandler(() => null) syntax provided here: https://devexpress.github.io/testcafe/documentation/reference/test-api/testcontroller/setnativedialoghandler.html, does not dismiss this "know your location" alert.

Could this re-opened?

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Dec 2, 2020
@AndreyBelym AndreyBelym reopened this Dec 3, 2020
Enhancements processing automation moved this from Closed to NEEDS TRIAGE Dec 3, 2020
@AndreyBelym
Copy link
Contributor

Thank you for your feedback. We'll keep this issue open. This functionality does not come out-of-the-box with TestCafe in a more convenient way, but you can use several existing APIs to solve this task. Have a look at this example: https://github.com/DevExpress/testcafe-examples/tree/master/examples/mock-geolocation-api

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Dec 3, 2020
@kmistry27
Copy link

Thank you for your feedback. We'll keep this issue open. This functionality does not come out-of-the-box with TestCafe in a more convenient way, but you can use several existing APIs to solve this task. Have a look at this example: https://github.com/DevExpress/testcafe-examples/tree/master/examples/mock-geolocation-api

Thanks for the swift response @AndreyBelym -- a colleague pointed me in that direction which does do the trick. Many thanks.

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Dec 3, 2020
@AlexSkorkin AlexSkorkin removed the STATE: Need response An issue that requires a response or attention from the team. label Dec 3, 2020
@AlexSkorkin AlexSkorkin removed the STATE: Stale An outdated issue that will be automatically closed by the Stale bot. label Dec 30, 2020
@Artem-Babich Artem-Babich self-assigned this Jun 6, 2023
@github-actions
Copy link

Release v3.1.0-rc.1 addresses this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Enhancements processing
  
NEEDS TRIAGE
Development

No branches or pull requests

5 participants