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

Is there any support for "TOAST" message test. #260

Closed
harishbarge opened this issue Sep 3, 2017 · 3 comments
Closed

Is there any support for "TOAST" message test. #260

harishbarge opened this issue Sep 3, 2017 · 3 comments

Comments

@harishbarge
Copy link

No description provided.

@harishbarge harishbarge changed the title Is there any support for toast message test. Is there any support for "TOAST" message test. Sep 3, 2017
@conor909
Copy link

conor909 commented Sep 5, 2017

I guess a component like that should be unit tested instead of e2e

@DanielMSchmidt
Copy link
Contributor

Can you explain this a bit? I understand you talk about these small pop-up notifications, right? You should normally be able to check if these are available like you would do with any other element.

If you would like to have a really good answer to your problem it would be best if you could link an example of this here so we can check that it doesn't work and write a working implementation for it.

@LeoNatan
Copy link
Contributor

LeoNatan commented Sep 5, 2017

If the question is about OS user notifications, the answer is "no" because they are rendered by the OS, not the app. There is, however, support for testing the handler functionality of your app as if the user has pressed the user notification. See documentation: https://github.com/wix/detox/blob/master/docs/APIRef.MockingUserNotifications.md

Also, next time please take time to properly formulate your issue. "No description provided" is not acceptable.

@LeoNatan LeoNatan closed this as completed Sep 5, 2017
@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants