Adds support for different application types (Vue and .NET) and improves server readiness checks.
This change introduces a new `applicationType` parameter to the Playwright test template, allowing it to handle both Vue and .NET applications. It improves the reliability of the test execution by implementing a readiness check mechanism that waits for the server to be fully up and running before starting the tests. This ensures that the tests are not run against an unavailable server, which can lead to false negatives.
The changes include:
- Parameterization of application type (vue or dotnet)
- Server readiness check implementation
- Docker build arguments can now be passed through
Configures the pipelines to utilize regression testing, increases the total shards for automated testing, and corrects the logic for retrieving the branch name to extract the JIRA card number.
Reduces the total number of shards used for parallel test execution from 4 to 2.
This change aims to optimize resource utilization and potentially improve test execution speed, considering factors such as the number of available agents and the characteristics of the test suite.
The automated test pipeline now runs without the regression flag enabled.
This change ensures that tests are executed as standard tests, rather than being treated as regression tests.
Introduces a new stage in the pipeline to run Playwright tests specifically for pull requests.
This ensures that UI tests are executed and pass before merging pull requests, preventing regressions.
The automated testing is now configured to run regression tests.
Uses the source branch from the build context to extract the JIRA card number.
Migrates automated testing configurations to new pipeline structure.
This change streamlines the test execution process by leveraging templates and parameters for increased flexibility and maintainability. It introduces a dedicated template for Playwright tests, enabling easier configuration and reuse across different testing scenarios.
The previous monolithic pipelines are replaced with modular components, improving readability and reducing redundancy. This also allows for better control over test execution, including shard management and result aggregation.
Adds a new environment variable to skip content site checks, improving test environment flexibility.
Improves the "nextPage" function in BasePage to handle loader elements and button states more reliably.
Adds support for selecting loss location in CCPolicyInfoPage to reflect claim details accurately.
Updates assertion methods to use Soft assertions for smoother test execution.
Adds a new test case "InsuranceMeemicNearSchoolVerified" to expand test coverage.
Adds a Docker cleanup script to the pipeline to remove stopped containers, dangling images, unused networks, and unused volumes. This helps to free up disk space and prevent potential resource exhaustion during automated testing.
Changes the agent pool from a custom "AmazonLinuxPool" to the default Azure Pipelines agent pool.
This simplifies pipeline configuration and reduces reliance on specialized agent pools, leveraging the standard Azure-managed infrastructure.
Relocates CI and Docker configuration files to the root directory.
This change simplifies the project structure by placing these essential configuration files at the top level, making them more accessible and easier to manage.
2025-05-09 15:06:32 -04:00
Renamed from playwright-tests/azure-pipelines-automated-testing.yml (Browse further)