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

Expectation/matcher for the app being in background? #226

Closed
kirakik opened this issue Aug 14, 2017 · 2 comments
Closed

Expectation/matcher for the app being in background? #226

kirakik opened this issue Aug 14, 2017 · 2 comments

Comments

@kirakik
Copy link

kirakik commented Aug 14, 2017

Description

It would be nice to have a matcher/expect statement for the app being in background. For example, if I want to check that pressing on a button sends the user to the settings, I would be able to do

  it('Should send the user to the settings', async () => {
    await element(by.id('settingsButton')).tap();
    await expect(element(by.id('CurrentScreen'))).toBeNotVisible();
  });
@DanielMSchmidt
Copy link
Contributor

@kirakik is this still relevant for you or can we close the issue?

@kirakik
Copy link
Author

kirakik commented Dec 9, 2018

No longer relevant, I’ll close this!

@kirakik kirakik closed this as completed Dec 9, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Dec 12, 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

3 participants