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

test: remove broken steps from files acceptance test #39778

Merged
merged 1 commit into from Aug 10, 2023

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Aug 9, 2023

  • Resolves: failing ci / acceptance-app-files

Summary

The acceptance tests using the recent view fail since the vue migration.

And I open the details view for "welcome.txt"

Is looking for a row in the filelist with a span having the class nametext, matching the file name "welcome.txt" and button inside having the class action-menu.

The markup for the files list looks very different after the vue migration and therefor the test is failing.

The test case:

  • Visit All files, check that opening the sidebar works for welcome.txt, close the sidebar
  • Visit Recent, check that opening the sidebar works for welcome.txt, close the sidebar

I assume we can enable it again, once everything is using the FilesEntry component after adjusting the css selectors.
If the actual test is useful for something and was not replaced by a shiny new cypress test ;)

TODO

  • ...

Checklist

@kesselb kesselb self-assigned this Aug 9, 2023
@kesselb kesselb added 2. developing Work in progress tests Related to tests labels Aug 9, 2023
@kesselb kesselb changed the title fix: add class action-menu back test: remove broken steps from files acceptance test Aug 9, 2023
@kesselb kesselb added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Aug 9, 2023
@kesselb kesselb marked this pull request as ready for review August 9, 2023 15:43
@kesselb kesselb added this to the Nextcloud 28 milestone Aug 9, 2023
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

Fine by me, but maybe add a comment why it was disabled?

@kesselb
Copy link
Contributor Author

kesselb commented Aug 9, 2023

Fine by me, but maybe add a comment why it was disabled?

Good idea. I copied the commit message to the behat scenario.

The acceptance tests using the recent view fail since the vue migration.

`And I open the details view for "welcome.txt"`

Is looking for a row in the filelist with a span having the class nametext, matching the file name "welcome.txt" and button inside having the class action-menu.

The markup for the files list looks very different after the vue migration and therefor the test is failing.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@szaimen
Copy link
Contributor

szaimen commented Aug 10, 2023

CI failure unrelated

@szaimen szaimen merged commit ca4c993 into master Aug 10, 2023
36 of 37 checks passed
@szaimen szaimen deleted the acceptance-test-files branch August 10, 2023 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews tests Related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants