Feature/mpt 18301 add cloud account alert tests#364
Merged
SteveChurchillSWO merged 4 commits intomainfrom Feb 23, 2026
Merged
Conversation
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.
dwolosz
approved these changes
Feb 23, 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 extra tests for cloud-accounts page, and general test fixes.
Related issue number
https://softwareone.atlassian.net/browse/MPT-18301