-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
check trashbin after deletion in UI tests #28990
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments.
tests/ui/features/lib/FilesPage.php
Outdated
$this->getDriver()->getCurrentUrl() | ||
) | ||
); | ||
throw new UnexpectedPageException( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somehow this block got a bonus indent. Not important but can be fixed since you will have to fix the other comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wondering why the pre commit hook did not shout at me
* @return void | ||
*/ | ||
public function openFile($name, Session $session) { | ||
$fileRow = $this->findFileRowByNaBasicme($name, $session); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not look so good findFileRowByNaBasicme
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failed because of that, fixed now
10d09cf
to
44543b9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now. CI will find anything else :)
Note: files_texteditor UI tests pass on top of this. So |
backport to stable10 in #28995 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
when deleting files in the test the trashbin should be checked to see if it works correctly
Related Issue
owncloud/QA#437
Motivation and Context
more tests leads to less bugs
The Simplified Smoke Test requires to check the trashbin
How Has This Been Tested?
run tests locally
Screenshots (if appropriate):
Types of changes
Checklist: