Skip to content

Conversation

@SteveChurchillSWO
Copy link
Contributor

@SteveChurchillSWO SteveChurchillSWO commented Dec 8, 2025

Introduces Cloud provisioning and portal settings for API tests for the scenarios considered high priority.

Added utility functions for accepting invitations and creating invited users. Improved type safety in response types. Refactored test setup to pass headers explicitly and updated test tags and descriptions. Introduced a method to retrieve data source IDs by name and improved error handling in user invitation. Increased Playwright worker count for local runs.

Add API and test for adding additional org admin

Introduced getAddAdditionalAdminResponse and getEmployeesByOrgId methods in CloudProvisioningRequest to support adding and verifying additional organization admins. Added a new test to cloud-provisioning-tests.spec.ts to create an organization, add an admin, and verify the admin appears in the organization's employees list.

Add portal settings API tests and user invitation flow

Introduces PortalSettingsRequest for user invitation and acceptance API flows, with corresponding types and tests. Adds new enums for user and status states. Refactors is-datasource-type utility to is-valid-type and updates imports. Enhances cloud provisioning tests with a force reimport data source scenario and improves variable naming for clarity.

Add data sources API tests and types for organizations

Introduced a new method in CloudProvisioningRequest to retrieve data sources by organization ID. Added corresponding type definitions, utility for datasource type validation, and extended cloud provisioning API tests to cover data sources. Also updated test descriptions and tags for better traceability.

Add cloud provisioning API tests and utilities

Introduces CloudProvisioningRequest for organization and employee API operations, adds comprehensive E2E tests for cloud provisioning, and includes supporting utility functions and type definitions. Updates fixtures to provide the new request class and configures auth tests to run in parallel. Also updates .gitignore to exclude test-results.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 8, 2025

@SteveChurchillSWO SteveChurchillSWO changed the title Add cloud provisioning and portal settings tests MPT-15877 Add high priority cloud provisioning and portal settings tests Dec 8, 2025
@ffaraone ffaraone merged commit bfe4cf0 into main Dec 9, 2025
4 checks passed
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.

3 participants