Commit Graph
414 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 fb59998447 fix(ui): add missing spaces in InvitationsPage tests
- Added missing spaces in the InvitationsPage 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 16:00:04 +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 477de791a9 test(ui): update environment variable name for user password in sign-up tests
- Changed the environment variable name from 'E2E_NEW_PASSWORD' to 'E2E_NEW_USER_PASSWORD' in the UI E2E tests workflow and related documentation.
- This update ensures consistency across the test setup and improves clarity in the sign-up flow tests.
2025-10-24 13:15:18 +02: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 5384d30fd5 Merge branch 'PROWLER-187-create-new-user' into PROWLER-179-aws-add-an-connect-the-provider 2025-10-21 11:19:50 +02:00
StylusFrost a6121396ca test(ui): remove unnecessary blank line in admin authentication setup test
- Cleaned up the admin authentication setup test by removing an unnecessary blank line for improved readability.
2025-10-21 11:13:52 +02:00
StylusFrost d17d519a3e test(ui): update locators in tests to use role-based queries
- Refactored locators in BasePage, HomePage, SignInPage, and SignUpPage to utilize role-based queries for improved accessibility and consistency across the UI tests.
2025-10-21 11:12:09 +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 94d5322f16 test(ui): update locators in tests to use role-based queries
- Replaced text-based locators with role-based queries in various test files for improved accessibility and consistency.
- Removed deprecated HomePage and SignInPage files to streamline the test structure.
2025-10-20 18:11:29 +02:00
StylusFrost 4920f84d75 test(ui): update sign-up tests to use E2E_NEW_PASSWORD environment variable
- Modified the sign-up test to retrieve the password from the E2E_NEW_PASSWORD environment variable.
- Updated documentation to specify the requirement for the E2E_NEW_PASSWORD variable before running tests.
2025-10-20 17:35:54 +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 1212356db3 Merge branch 'master' into PROWLER-184-m365-add-and-connect-the-provider 2025-10-20 14:57:57 +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 b23b083092 Merge branch 'master' into PROWLER-180-azure-add-and-connect-the-provider-new 2025-10-20 14:13:31 +02:00
StylusFrost d63ae0e40f Merge branch 'master' into PROWLER-179-aws-add-an-connect-the-provider 2025-10-20 14:11:46 +02:00
Alejandro BailoandHugoPBrito 0b9969a723 feat: update M365 credentials form (#8929)
Co-authored-by: HugoPBrito <hugopbrit@gmail.com>
2025-10-20 13:51:11 +02:00
StylusFrost 5d86aacb2a Merge branch 'master' into PROWLER-187-create-new-user 2025-10-20 13:51:07 +02:00
StylusFrostandAlejandro Bailo 985d73f44f test(ui): enhance Playwright test setups for user authentication (#8881)
Co-authored-by: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com>
2025-10-20 13:45:20 +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 447d754b49 test(ui): add page load wait to sign-up page tests
- Introduced a call to `waitForPageLoad` in the sign-up page test to ensure the page is fully loaded before proceeding with visibility checks for elements.
2025-10-20 10:36:40 +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
Alejandro Bailo 928c556721 fix: Mutelist view blinks at opening (#8932) 2025-10-17 19:26:57 +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
Alejandro BailoandAlan Buscaglia 30ab5f52b9 feat(ui): add comprehensive agentic files (#8885)
Co-authored-by: Alan Buscaglia <gentlemanprogramming@gmail.com>
2025-10-16 11:37:58 +02:00
Pedro MartínandAlan Buscaglia 4a61578dd8 feat(compliance): add CCC catalogs for AWS, Azure and GCP (#8000)
Co-authored-by: Alan Buscaglia <gentlemanprogramming@gmail.com>
2025-10-15 21:48:20 +05:45
Pedro MartínandAlan Buscaglia 564ad56d2f feat(compliance): add C5 Germany for aws (#8830)
Co-authored-by: Alan Buscaglia <gentlemanprogramming@gmail.com>
2025-10-15 11:47:23 +02:00
Alan Buscaglia b4b9d800a8 style(ui): Migrate from Work Sans to Inter font (#8914) 2025-10-14 17:33:26 +02:00
Alan Buscaglia 1994750151 fix(ui): Api Key Implementation Retouches (#8906) 2025-10-14 12:27:59 +02:00
StylusFrost cef7fcc24b Merge branch 'master' into PROWLER-187-create-new-user 2025-10-14 11:03:23 +02:00
StylusFrost fcf42937aa test(ui): enhance session management tests with new helper functions
- Updated the `verifyLogoutSuccess` function to use a regex for URL verification.
- Added new helper functions `getSession` and `verifySessionValid` to streamline session validation in tests, ensuring that session data is correctly retrieved and validated.
2025-10-14 10:26:00 +02:00