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

check trashbin after deletion in UI tests #28990

Merged
merged 1 commit into from
Sep 13, 2017
Merged

Conversation

individual-it
Copy link
Member

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

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

See comments.

$this->getDriver()->getCurrentUrl()
)
);
throw new UnexpectedPageException(
Copy link
Contributor

@phil-davis phil-davis Sep 13, 2017

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.

Copy link
Member Author

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);
Copy link
Contributor

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 ?

Copy link
Member Author

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

Copy link
Contributor

@phil-davis phil-davis left a 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 :)

@phil-davis
Copy link
Contributor

Note: files_texteditor UI tests pass on top of this. So FilesPage is correctly presenting a compatible interface, which is nice. No need to update UI tests in apps.

@individual-it
Copy link
Member Author

backport to stable10 in #28995

@lock
Copy link

lock bot commented Aug 2, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants