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

stabilize inbox screen #1075

Merged
merged 1 commit into from
Nov 23, 2021
Merged

stabilize inbox screen #1075

merged 1 commit into from
Nov 23, 2021

Conversation

tomholub
Copy link
Collaborator

This PR attempts to improve running tests on my device.

issue #1070


Tests (delete all except exactly one):

  • Tests updated

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities
  • is documented clearly and usefully, or doesn't need documentation

@tomholub tomholub marked this pull request as ready for review November 23, 2021 17:07
Comment on lines 39 to 44
clickCreateEmail = async () => {
if (await (await this.createEmailButton).isDisplayed() !== true ) {
await browser.pause(2000); // todo: loading inbox. Fix this: wait until loader gone
if (await (await this.createEmailButton).isDisplayed() !== true) {
await TouchHelper.scrollDown();
await (await this.createEmailButton).waitForDisplayed();
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a more proper fix - in inbox we should wait until loader is gone before interacting with/looking for the elements.

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

Successfully merging this pull request may close these issues.

1 participant