Skip to content

stabilize inbox screen#1075

Merged
tomholub merged 1 commit intomasterfrom
issue-1070-m1-tests
Nov 23, 2021
Merged

stabilize inbox screen#1075
tomholub merged 1 commit intomasterfrom
issue-1070-m1-tests

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