[WIP] Resolves: MTV-4907 | Add CNV version gating and post-migration VM smoke test (part 2)#2364
Open
Pedro-S-Abreu wants to merge 3 commits intokubev2v:mainfrom
Open
[WIP] Resolves: MTV-4907 | Add CNV version gating and post-migration VM smoke test (part 2)#2364Pedro-S-Abreu wants to merge 3 commits intokubev2v:mainfrom
Pedro-S-Abreu wants to merge 3 commits intokubev2v:mainfrom
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2364 +/- ##
===========================================
- Coverage 36.81% 16.41% -20.41%
===========================================
Files 158 1198 +1040
Lines 2548 21863 +19315
Branches 599 4342 +3743
===========================================
+ Hits 938 3588 +2650
- Misses 1428 17572 +16144
- Partials 182 703 +521 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
02244d9 to
2d07451
Compare
Introduces CNV (OpenShift Virtualization) version gating for Playwright tests, following the same pattern as MTV version gating but with optional semantics — tests run by default when CNV version is unknown. Key changes: - Refactor version utilities into generic helpers parameterized by env var - Add CNV version auto-detection from cluster CSV in global setup - Add requireCNVVersion() for gating tests to specific CNV versions - Add VirtualMachineDetailsPage page object for kubevirt VM pages - Add post-migration smoke test verifying VMs on CNV overview page - Support DEFAULT_PLUGINS env var in start-console.sh - Always launch browser in global setup for version detection (with or without credentials) Resolves: MTV-4907 Signed-off-by: Pedro Abreu <pabreu@redhat.com>
2d07451 to
24ad8fc
Compare
Scope the 'Migration plans' text locator to the main content area so it does not match the hidden nav link in the collapsed sidebar. Resolves: None Signed-off-by: Pedro Abreu <pabreu@redhat.com>
Align playwright dependency with @playwright/test to avoid duplicate nested versions. Add retry loop to apt-get update in ContainerFile for transient mirror sync failures. Resolves: None Signed-off-by: Pedro Abreu <pabreu@redhat.com>
|
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.



📝 Links
📝 Description
Part 2 for MTV-4907 — adds CNV version gating to the Playwright E2E framework and a post-migration smoke test that verifies migrated VMs on the kubevirt VM details page.
requireCNVVersion()with optional semantics (tests run when CNV version is unknown, unlike MTV gating)VirtualMachineDetailsPagepage object for kubevirt VM pagesDEFAULT_PLUGINSenv var instart-console.sh🎥 Demo
📝 CC://