Skip to content

Feature/MPT-17944 RI/SP coverage tests#361

Merged
SteveChurchillSWO merged 5 commits intomainfrom
feature/MPT-17944-RISP-coverage-tests
Feb 20, 2026
Merged

Feature/MPT-17944 RI/SP coverage tests#361
SteveChurchillSWO merged 5 commits intomainfrom
feature/MPT-17944-RISP-coverage-tests

Conversation

@SteveChurchillSWO
Copy link

Description

Adding test and 30 days of RI and SP mocked data.

Related issue number

https://softwareone.atlassian.net/browse/MPT-17944

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.
@SteveChurchillSWO SteveChurchillSWO merged commit d497dce into main Feb 20, 2026
41 checks passed
@dwolosz dwolosz deleted the feature/MPT-17944-RISP-coverage-tests branch February 20, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants