Skip to content

HMS-6036: QE - migrate iqe test_snapshot_deletion #524

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mayurilahane
Copy link
Contributor

No description provided.

@mayurilahane mayurilahane changed the title QE - migrate iqe test_snapshot_deletion HMS-6036: QE - migrate iqe test_snapshot_deletion May 6, 2025
@jlsherrill
Copy link
Member

To ensure it uses recently created repository with latest snapshot of
the same repository
- Implemented a test step to delete a single snapshot and verify the snapshot count decreases correctly.
- Added a test step for bulk deletion of multiple snapshots, ensuring the bulk delete button is disabled when all snapshots are selected.
- Verified that at least one snapshot remains after bulk deletion and validated the updated snapshot count.
@mayurilahane mayurilahane marked this pull request as ready for review May 12, 2025 05:40
Copy link
Contributor

@dominikvagner dominikvagner left a comment

Choose a reason for hiding this comment

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

added a few comments, some changes needed 😅

unable to run the test currently due to a bug on stage, will revisit after that is fixed and comments addressed 🫡

@mayurilahane mayurilahane marked this pull request as draft May 13, 2025 07:45
2. Changed spcific locator to make it readable form
3. added cleanup for the repo which uses zoo repo to avoid duplication
   error
- Moved the snapshot deletion test into the 'Snapshot Repositories' describe block.
- Added a step to check for existing "zoo" repositories and delete them if present, ensuring a clean state before starting the test.
@mayurilahane
Copy link
Contributor Author

I am facing the following issues with the test:

  1. When counting the created snapshots at the start of the test, it is expected to return 4 snapshots, but instead, it returns -1.

  2. On the UI, the snapshot count is displayed correctly (4 snapshots initially, and 3 after deletion). However, during the test run, the variable still shows 4 snapshots even after one is deleted.

  3. The deletion task is failing in admin task.

  4. After discussing this in the group chat, it was suggested to give the test more time to load. This worked when running in the debugger but not when running without it.

  5. Now, the test is failing even with the debugger and still shows -1.

Overall, the test is very flaky and inconsistent.

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

Successfully merging this pull request may close these issues.

3 participants