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

Acceptance test OwncloudPage and waitTillPageIsLoaded #33161

Closed
1 task
phil-davis opened this issue Oct 11, 2018 · 2 comments · Fixed by #33581
Closed
1 task

Acceptance test OwncloudPage and waitTillPageIsLoaded #33161

phil-davis opened this issue Oct 11, 2018 · 2 comments · Fixed by #33581

Comments

@phil-davis
Copy link
Contributor

See PR #33158 and #33149 for examples and discussion.

OwncloudPage has a waitTillPageIsLoaded() method that looks for a .loading indicator to become invisible. On ordinary files pages there is no such indicator, and FilesPageBasic extends OwncloudPage and implements a waitTillPageIsLoaded() that works on files-type-pages.

Some other pages directly extend OwncloudPage and so get the "base" waitTillPageIsLoaded()

When the comments app is enabled, the comments panel happens to have a .loading indicator - so the "base" waitTillPageIsLoaded() just happens to "work" by checking that page element.

  • review each page object that extends OwncloudPage and ensure that either it implements its own appropriate waitTillPageIsLoaded() or that the base one from OwncloudPage is relevant.
@phil-davis
Copy link
Contributor Author

phil-davis commented Oct 11, 2018

Try running the acceptance test suite with:

and see what bad things happen.

@ownclouders
Copy link
Contributor

GitMate.io thinks possibly related issues are #22485 (test), #22492 (test), #31579 (test), #32559 (acceptance tests - stop uploading when receiving an error), and #31516 (Acceptance test coding standard changes).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants