Repository navigation
Test removing email addresses from public link share - #32831
Conversation
Codecov Report
@@ Coverage Diff @@
## master #32831 +/- ##
=========================================
Coverage 64.12% 64.12%
Complexity 18684 18684
=========================================
Files 1177 1177
Lines 70309 70309
Branches 1270 1270
=========================================
Hits 45089 45089
Misses 24850 24850
Partials 370 370
Continue to review full report at Codecov.
|
| } | ||
|
|
||
| /** | ||
| * @When creates the public link using the webUI |
There was a problem hiding this comment.
When the user creates...
There was a problem hiding this comment.
@phil-davis I added this. Please review.
| ); | ||
| } | ||
| $closeButton->click(); | ||
| \sleep(1); // wait for a while to close the popup |
There was a problem hiding this comment.
Do we really need to sleep?
With the new loops in the email checking, I guess that this will work without a sleep?
There was a problem hiding this comment.
For other tests (in future that might run after closing the popup dialog), it might require them to close the popup. Si, i think we need some way to wait for the popup to disappear. This tests however doesn't use that however. It's kind of a future proofing.
Should i check that the popup is not there? That should remove the sleep.
There was a problem hiding this comment.
Yes, a small loop or similar that checks if the popup is gone (not visible or something).
There was a problem hiding this comment.
I removed the sleep. Please review again
phil-davis
left a comment
There was a problem hiding this comment.
Looks good. See comments.
We want to avoid putting sleep() in real code, if we can.
|
Backport on #32841 |
Description
This adds a test for removing email addresses from the email input box of the public link share dialog.
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: