e2e(FR-759): add delete and delete-forever test case#3445
Closed
agatha197 wants to merge 1 commit into
Closed
Conversation
Contributor
Author
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
5 tasks
2a1ce2a to
eb355b0
Compare
882f933 to
550d41a
Compare
eb355b0 to
7af3322
Compare
5 tasks
550d41a to
6a482b3
Compare
4394f15 to
b4fb869
Compare
5 tasks
6a482b3 to
550d41a
Compare
b4fb869 to
936d54f
Compare
936d54f to
7d028d1
Compare
550d41a to
6a482b3
Compare
7d028d1 to
424a439
Compare
6a482b3 to
550d41a
Compare
424a439 to
1ee30d9
Compare
550d41a to
6154199
Compare
1ee30d9 to
682c678
Compare
6154199 to
de1b5ba
Compare
682c678 to
ecc217c
Compare
de1b5ba to
4254a5f
Compare
ecc217c to
af3ac55
Compare
1b810e7 to
763ebb9
Compare
4254a5f to
23e06c2
Compare
763ebb9 to
599496f
Compare
Contributor
Author
|
@ironAiken2 @nowgnuesLee I didn't want to make data changes before and after the test, so I changed |
d040389 to
c1155a6
Compare
Merge activity
|
resolves #3450 (FR-759) # Refactor VFolder E2E Tests with Improved Test Utilities This PR adds new utility functions for VFolder operations in E2E tests: 1. Added `verifyVFolder` utility function to check folder visibility in the data view 2. Replaced `deleteVFolderAndVerify` with two more specific functions: - `moveToTrashAndVerify`: Moves a folder to trash and verifies it appears there - `deleteForeverAndVerifyFromTrash`: Permanently deletes a folder from trash and verifies it's gone The new functions better reflect the actual user workflow of first moving items to trash before permanent deletion, and use the new UI components rather than the old Vaadin grid elements. All existing test cases have been updated to use these new utility functions, making the tests more maintainable and accurate. **Checklist:** - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
23e06c2 to
8fea3fc
Compare
c1155a6 to
7dcf1d6
Compare
agatha197
commented
Apr 7, 2025
Contributor
Author
agatha197
left a comment
There was a problem hiding this comment.
It is already applied in main branch. close this issue.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

resolves #3450 (FR-759)
Refactor VFolder E2E Tests with Improved Test Utilities
This PR adds new utility functions for VFolder operations in E2E tests:
verifyVFolderutility function to check folder visibility in the data viewdeleteVFolderAndVerifywith two more specific functions:moveToTrashAndVerify: Moves a folder to trash and verifies it appears theredeleteForeverAndVerifyFromTrash: Permanently deletes a folder from trash and verifies it's goneThe new functions better reflect the actual user workflow of first moving items to trash before permanent deletion, and use the new UI components rather than the old Vaadin grid elements.
All existing test cases have been updated to use these new utility functions, making the tests more maintainable and accurate.
Checklist: