Skip to content

Feature/mpt 18301 add cloud account alert tests#364

Merged
SteveChurchillSWO merged 4 commits intomainfrom
feature/MPT-18301-add-cloud-account-alert-tests
Feb 23, 2026
Merged

Feature/mpt 18301 add cloud account alert tests#364
SteveChurchillSWO merged 4 commits intomainfrom
feature/MPT-18301-add-cloud-account-alert-tests

Conversation

@SteveChurchillSWO
Copy link

Description

Adding extra tests for cloud-accounts page, and general test fixes.

Related issue number

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

Add a comprehensive cloud-accounts-page.mocks.ts providing GraphQL mock responses (organizations, allowed actions, current employee, data sources, organization features/theme/perspectives, pools, marketplace data, etc.) and update e2e test pages and specs to use the new mocks. Adjusted base-page, cloud-accounts-page/connect pages, recommendations-page, and cloud-accounts tests, plus updated expected screenshots/PDF fixtures to match the mocked output. These changes stabilize and align end-to-end tests with deterministic mock data.
Delete commented-out test.step blocks that accepted the privacy policy in e2etests/tests/invitation-flow-tests.spec.ts. Cleans up leftover/dead code in the invitation flow tests by removing two redundant commented sections.
Add billing reimport locators and actions to CloudAccountsPage (billingReimportBtn, billingReimportSideModal, billingReimportAlert, scheduleImportBtn, importDatePickerInput, datePopup, dateSetBtn) and implement clickBillingReimportBtn and scheduleImportWithDefaultDate (opens date picker, confirms default date, clicks schedule and returns selected date). Add E2E test that opens the reimport side modal, verifies the warning alert message, schedules a billing reimport using the default date, and asserts the UpdateDataSource POST response is 200. Includes debug logs for the selected date and API response status.
@SteveChurchillSWO SteveChurchillSWO merged commit 39f6463 into main Feb 23, 2026
41 checks passed
@SteveChurchillSWO SteveChurchillSWO deleted the feature/MPT-18301-add-cloud-account-alert-tests branch February 23, 2026 14:21
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