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(cy): use more robust selectors in file picker #5349

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

max-nextcloud
Copy link
Collaborator

📝 Summary

  • Use the selectors used in server to test the files app.
  • Rely on semantics (nav, [aria-label=...]).

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation is not required

@max-nextcloud
Copy link
Collaborator Author

/backport to stable28

@max-nextcloud
Copy link
Collaborator Author

Requesting backport for sake of consistency.

* Use the selectors used in server to test the files app.
* Rely on semantics (`nav`, `[aria-label=...]`).

Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud max-nextcloud force-pushed the test/improve-cy-selectors branch from d2f20b9 to 39b2862 Compare February 4, 2024 07:12
@juliusknorr juliusknorr merged commit 781129b into main Feb 4, 2024
52 checks passed
@juliusknorr juliusknorr deleted the test/improve-cy-selectors branch February 4, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants