Removes an unnecessary navigation step after populating credit card details, improving the user experience.
Adds CI environment variable to docker create commands.
Ensures environment variables defined in the env file are loaded
into the Docker containers used for Playwright tests. This is
achieved by sourcing the env file within the `docker create` command.
Removes the unnecessary CI=true environment variable setting.
Ensures the `CI` environment variable is set to `true` when creating the Docker container.
This ensures proper behavior for Playwright tests running in continuous integration environments.
Ensures that the CI environment variable is set to true within the Docker containers.
This enables proper detection of the CI environment in the running tests.
Replaces direct matrix value access with a function call to obtain the shard number.
This approach enhances flexibility and maintainability by abstracting the source of the shard number.
Uses the matrix context for the shard number in the Playwright test workflow.
This change ensures the correct shard number is used when running Playwright tests in parallel.
Updates the variable used to access the source branch name in pull requests.
The previous variable was deprecated or no longer functioning as expected.
This change ensures the workflow can reliably retrieve the branch name for
extracting JIRA card numbers.
Removes the explicit URL declaration from the page classes.
The URL validation and navigation are now handled directly within the tests, providing greater flexibility and control over test execution and removing the need to manage URLs within each page object.
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.
Reverts the hardcoded disabling of Jira ticket creation and enables it based on the `IS_REGRESSION` environment variable. This allows test subtasks and bug tickets to be created automatically when tests are not run in regression mode.
Ensures the JIRA card number is available as an environment variable during the playwright merge-reports process. This allows the reports to be tagged with the correct JIRA ticket.
Configures the Playwright blob report output directory to '/app/blob-report' within the test job definitions.
This ensures that the blob reports are consistently stored in a designated location within the container,
facilitating easier access and management of test artifacts.
Ensures that the playwright config file path is explicitly set during test execution.
This change resolves potential issues where the config file might not be correctly located, especially in environments with non-standard project structures.
Removes temporary debugging statements from the Playwright test workflow. These logs were used to diagnose issues with report merging but are no longer needed, reducing noise in the CI output.
Executes Playwright after merging reports to guarantee the generation of final reports.
This ensures that the JUnit and other reports are generated correctly after the merging process, leading to more reliable test reporting.
Adds debugging logs to the Playwright test execution within the Docker container to aid in diagnosing issues with report generation and merging. These logs provide insights into directory contents and the state of the environment.