Feature/MPT-17944 RI/SP coverage tests#361
Merged
SteveChurchillSWO merged 5 commits intomainfrom Feb 20, 2026
Merged
Conversation
Add a large RI/SP coverage mock (e2etests/mocks/ri-sp-coverage-page.mock.ts) containing sample breakdown data, update page objects (e2etests/pages/recommendations-page.ts and e2etests/pages/ri-sp-coverage-page.ts) to support test interactions, and add a new E2E test spec (e2etests/tests/ri-sp-coverage-test.spec.ts). These changes provide a deterministic dataset and page helpers to validate RI/SP coverage UI behavior in automated tests.
Extend ri-sp-coverage-page mock with large static fixtures (GeminisResponse, RecommendationsDownload/Options/Summary, AllowedActions, OrganizationFeatures/Theme/Perspectives, OptimizationsLimits, etc.) and minor bracket formatting fixes. Support updates to e2e pages, setup and tests (recommendations, RI/SP coverage, cloud accounts) to use the new mock payloads for improved end-to-end test coverage.
Refresh e2etests mock (e2etests/mocks/ri-sp-coverage-page.mock.ts): replace many legacy azure_cnr account entries with a consolidated aws_cnr account (id 6ff49125-4b75-468b-bf61-fc9942c55390) and update per-timestamp usage, cost and RI metrics (total_usage_hrs, cost_with/without_offer, ri_usage_hrs, ri_overprovision_hrs, ri_cost_*). This aligns the fixture with current Marketplace (Dev) RI coverage data used by end-to-end tests.
dwolosz
approved these changes
Feb 20, 2026
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.
Description
Adding test and 30 days of RI and SP mocked data.
Related issue number
https://softwareone.atlassian.net/browse/MPT-17944