added new method - scrollToElement, updated test, added checking Inb…#1103
added new method - scrollToElement, updated test, added checking Inb…#1103
Conversation
…x screen after reopening app
tomholub
left a comment
There was a problem hiding this comment.
@fcvakintos this is an improvement but it does not close the issue. The issue was about using the search functionality to find inbox elements, instead of scrolling to them.
You have to have a long-term view. We started with 1 email. Now there's 20. There will probably be 300 by the time we are done writing all these tests. Scrolling to them is not scalable.
|
I can merge this but change the |
|
@tomholub I will update the test |
|
Do you want to do it in this PR or separately? |
|
@tomholub in this PR |
|
Ok. I marked it as draft until then. To recap:
|
|
@tomholub I think search is not working correctly |
|
@tomholub and it search from all list(Sent/Inbox and other) - I think it should search only from the list of selected section |
|
I think it's because "encrypted email" is included as a PGP header comment in every encrypted email so that's not a fortunate combination of words to search. You can do the following things:
|
|
The search works on all folders on purpose - users were getting confused when they couldn't find email they archived etc. |
|
@tomholub yeah, this case works |
appium/tests/specs/inbox/CheckReplyAndForwardForEncryptedEmail.spec.ts
Outdated
Show resolved
Hide resolved
# Conflicts: # appium/tests/screenobjects/mail-folder.screen.ts # appium/tests/specs/inbox/CheckEncryptedEmailAfterRestartApp.spec.ts # appium/tests/specs/inbox/ReadAttachmentEmail.spec.ts # appium/tests/specs/inbox/ReadEmailAfterRestartApp.spec.ts
…rch field, added fixes for tests

…ox screen after reopening app
This PR contains fixes for tests, added new method for scrolling down to element
close #1071
Tests
To be filled by reviewers
I have reviewed that this PR... (tick whichever items you personally focused on during this review):