Commit Graph
28 Commits
Author SHA1 Message Date
StylusFrost f58030f68e test(ui): add scans E2E test suite and enhance scans functionality
- Introduced a new scans test suite to validate the on-demand scan execution flow.
- Added methods in the ScansPage class for selecting providers, filling scan aliases, and verifying scan launches.
- Updated the ProvidersPage class to include a method for adding AWS providers.
- Created comprehensive end-to-end tests for executing scans, including necessary preconditions and environment variable checks.
- Documented the new test cases and flow in the scans markdown file.
2025-11-03 19:06:52 +01:00
StylusFrost f457653a8d Merge remote-tracking branch 'origin/PROWLER-197-out-of-scope-github-add-an-connect-the-provider' into PROWLER-188-invite-new-user 2025-10-29 15:58:45 +01:00
StylusFrost 57d2fef6be test(ui): add missing spaces in ProvidersPage tests
- Added missing spaces in the ProvidersPage tests to improve readability and maintain consistency in the code style.
- This change enhances the overall clarity of the test code without affecting functionality.
2025-10-29 15:57:41 +01:00
StylusFrost 77c121c6a1 Merge branch 'PROWLER-181-gcp-add-and-connect-the-provider' into PROWLER-197-out-of-scope-github-add-an-connect-the-provider 2025-10-29 15:55:26 +01:00
StylusFrost 3cc49beb45 test(ui): needs space 2025-10-29 15:50:48 +01:00
StylusFrost 9d44070486 test(ui): enhance invitations management in E2E tests
- Added support for invitations management in the UI E2E tests, including a new InvitationsPage class for handling invitation-related actions.
- Updated the Playwright configuration to include a new project for invitations tests.
- Created comprehensive end-to-end tests for inviting new users, verifying the sign-up process, and ensuring proper organization association.
- Introduced new environment variable 'E2E_ORGANIZATION_ID' for managing organization-specific tests.
- Documented the new test cases and flow for invitations management in the corresponding markdown files.
2025-10-28 11:49:01 +01:00
StylusFrost faec92cbbc test(ui): add GitHub provider support in ProvidersPage tests
- Introduced GitHub provider data and credential interfaces to the ProvidersPage.
- Implemented methods for filling GitHub provider details and credentials for both personal access token and GitHub App.
- Added end-to-end tests for adding a GitHub provider using personal access token and GitHub App authentication.
- Updated the UI E2E tests workflow to include necessary environment variables for GitHub integration.
- Enhanced documentation with new test cases for GitHub provider integration.
2025-10-27 20:38:21 +01:00
StylusFrost 2409049c88 test(ui): add GCP provider support in ProvidersPage tests
- Introduced GCP provider data and credential interfaces to the ProvidersPage.
- Implemented methods for filling GCP provider details and service account key credentials.
- Added end-to-end tests for adding a GCP provider using service account key authentication.
- Updated documentation to include new test case for GCP provider integration.
2025-10-27 09:34:13 +01:00
StylusFrost 5af7c950ac test(ci): update UI E2E tests configuration and improve Kubernetes context setup
- Updated the Kubernetes context and kubeconfig path in the E2E tests workflow to use secrets for better security.
- Added a step to create the kubeconfig file from the secret, ensuring proper configuration for Kubernetes provider tests.
- Changed the "Add Kubernetes Provider" test to run serially for improved execution flow.
2025-10-23 13:03:53 +02:00
StylusFrost 642efecd37 test(ui): refactoring tests
Correct serial execution
Best process for deleting a provider
New scans page to manage properly when creating a provider
2025-10-22 20:51:35 +02:00
StylusFrost ccd8908128 Merge branch 'PROWLER-184-m365-add-and-connect-the-provider' into PROWLER-182-kubernetes-add-and-connect-the-provider 2025-10-21 12:34:31 +02:00
StylusFrost c0a82910ad test(ui): add M365 provider data and credentials to provider tests
- Introduced M365ProviderData, M365ProviderCredential, and M365_CREDENTIAL_OPTIONS to enhance the provider tests.
- This addition supports the integration of M365 provider functionalities in the UI tests.
2025-10-21 12:33:41 +02:00
StylusFrost a004a73891 Merge branch 'PROWLER-180-azure-add-and-connect-the-provider-new' into PROWLER-184-m365-add-and-connect-the-provider 2025-10-21 12:31:29 +02:00
StylusFrost fccd2c3b9c test(ui): enhance AWS and Azure provider tests with role-based credentials
- Added tests for adding AWS providers with both static and role-based credentials, ensuring environment variables are validated.
- Refactored Azure provider tests to include role-based credential handling and improved setup for test state management.
- Updated test descriptions and tags for better clarity and organization.
2025-10-21 12:29:03 +02:00
StylusFrost e8712359c7 test(ui): refactor ProvidersPage input locators to use role-based queries
- Updated additional input locators in ProvidersPage tests to utilize role-based queries for improved accessibility and consistency across the UI tests.
2025-10-21 12:02:36 +02:00
StylusFrost 1ea859f606 Merge branch 'PROWLER-180-azure-add-and-connect-the-provider-new' into PROWLER-184-m365-add-and-connect-the-provider 2025-10-21 11:58:48 +02:00
StylusFrost d13182288e test(ui): refactor ProvidersPage input locators to use role-based queries
- Updated input locators in ProvidersPage tests to utilize role-based queries for improved accessibility and consistency across the UI tests.
2025-10-21 11:44:50 +02:00
StylusFrost 85d9411283 Merge branch 'PROWLER-179-aws-add-an-connect-the-provider' into PROWLER-180-azure-add-and-connect-the-provider-new 2025-10-21 11:37:35 +02:00
StylusFrost a500339138 test(ui): update ProvidersPage locators to use role-based queries
- Refactored input locators in ProvidersPage tests to utilize role-based queries for improved accessibility and consistency across the UI tests.
2025-10-21 11:35:29 +02:00
StylusFrost 4a0f0ba5bb Merge branch 'PROWLER-179-aws-add-an-connect-the-provider' into PROWLER-180-azure-add-and-connect-the-provider-new 2025-10-21 11:28:51 +02:00
StylusFrost 71f5ac5165 test(ui): add Kubernetes provider management E2E tests
- Introduced support for adding Kubernetes providers with kubeconfig content in the UI.
- Updated the ProvidersPage interface to include fields and methods for Kubernetes provider details and credentials.
- Enhanced E2E tests to validate the complete flow of adding a new Kubernetes provider, ensuring proper handling of context and kubeconfig content.
- Included necessary environment variable checks for Kubernetes context and kubeconfig path to maintain test integrity.
2025-10-21 10:56:37 +02:00
StylusFrost f15fdfc642 test(test): update button selector in ProvidersPage tests
- Changed the selector for the "Add Cloud Provider" button from text-based to role-based for improved reliability and maintainability.
2025-10-21 09:31:11 +02:00
StylusFrost 7b321c8cd1 test(ui): enhance M365 provider management E2E tests
- Added support for certificate-based authentication in M365 provider management.
- Updated the ProvidersPage interface to include fields for certificate credentials.
- Enhanced E2E tests to validate the complete flow of adding a new M365 provider with certificate credentials.
- Included necessary environment variable checks for certificate content and updated test steps accordingly.
2025-10-20 17:00:42 +02:00
StylusFrost 13436613d6 test(ui): add M365 provider management E2E tests
- Introduced new E2E tests for adding Microsoft 365 providers with static credentials.
- Updated the ProvidersPage interface to include M365-specific fields and methods.
- Enhanced the test suite to validate the complete flow of adding a new M365 provider, ensuring proper handling of credentials and provider details.
- Added necessary environment variable checks and cleanup steps to maintain test integrity.
2025-10-20 14:53:43 +02:00
StylusFrost 055964aff3 test(ui): add Azure provider management E2E tests
- Introduced new E2E tests for adding Azure providers with static credentials.
- Updated the ProvidersPage interface to include Azure-specific fields and methods.
- Enhanced the test suite to validate the complete flow of adding a new Azure provider, ensuring proper handling of credentials and provider details.
- Added necessary environment variable checks and cleanup steps to maintain test integrity.
2025-10-20 11:51:21 +02:00
StylusFrost 761563472b test(ui): improve provider page load handling in tests
- Added a wait for network idle state in the ProvidersPage test to ensure all network requests are completed before proceeding.
- This enhancement improves the reliability of the test by ensuring the page is fully loaded before assertions are made.
2025-10-20 10:30:51 +02:00
StylusFrost 5e3db29de7 test(ui): update AWS provider credential handling in tests
- Refactored AWS provider credential interfaces to improve type safety and clarity.
- Replaced `ProviderCredentials` with `AWSProviderCredential` and introduced `AWS_CREDENTIAL_OPTIONS` for credential types.
- Updated tests to utilize the new credential structure, ensuring consistency across AWS provider management actions.
2025-10-17 19:35:25 +02:00
StylusFrost d8ca60a4ab test(ui): add AWS provider management E2E tests
- Introduced new E2E tests for adding AWS providers with both static and role-based credentials.
- Updated Playwright configuration to include a new test suite for providers.
- Enhanced the UI workflow by adding necessary environment variables for E2E testing.
- Created helper functions for provider management actions and validations.
2025-10-17 13:41:40 +02:00