-
Notifications
You must be signed in to change notification settings - Fork 25
e2e. view mode switch #1177
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
e2e. view mode switch #1177
Conversation
2c395ec to
3ba1a8a
Compare
|
@AlexAndBear sorry for late finding fixed it here |
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.
Pull Request Overview
This PR implements end-to-end test support for view mode switching functionality, enhancing the test infrastructure to handle different view modes (table, tiles, table-condensed) across both desktop and mobile browsers.
- Refactored view mode switching logic to support both desktop and mobile interfaces
- Updated test step definitions to use more consistent naming conventions
- Modified feature files to use the new standardized view mode terminology
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/e2e/support/objects/app-files/resource/index.ts | Removed specific tiles view methods, added generic view mode handling |
| tests/e2e/support/objects/app-files/resource/actions.ts | Enhanced view mode switching with mobile browser support and unified view mode validation |
| tests/e2e/cucumber/steps/ui/resources.ts | Updated step definitions to use consistent view mode terminology |
| tests/e2e/cucumber/features/user-settings/tiles.feature | Updated to use new view mode step syntax |
| tests/e2e/cucumber/features/smoke/tags.feature | Updated view mode references to use new terminology |
| tests/e2e/cucumber/features/shares/denyShareAccess.feature | Updated view mode references to use new terminology |
| tests/e2e/cucumber/features/mobile-view/smoke.feature | Added view mode switching tests for mobile scenarios |
| tests/e2e/cucumber/features/a11y/smoke.feature | Updated accessibility tests to use new view mode syntax |
| packages/web-app-files/src/composables/extensions/useFolderViews.ts | Updated UI labels for view mode options |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
AlexAndBear
left a 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.
👍

waiting until #1159 will merged