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.
The previous implementation encountered issues with command execution within the docker container. This change wraps the Playwright commands in a bash shell, ensuring proper execution and resolving potential errors during the report merging and related processes.
Specifies that environment variables are exported to ensure
they are accessible within the Docker container context. Also
wraps the execution command in `bash -c` to ensure proper
command execution within the container.
Ensures the shell command is properly executed within the Docker container by wrapping it in quotes. This resolves issues where the command was being misinterpreted or failing to execute as intended.
Removes unnecessary directory listing commands from the Docker container execution within the Playwright test job.
This change simplifies the execution and reduces the noise in the job logs, focusing on the core report merging process. The execution also uses semicolons instead of newlines to separate commands.
Enhances debugging capabilities in the CI workflow by adding `ls -al` command to print the contents of the playwright-tests directory.
Also, corrects the path for listing test results to use a relative path instead of an absolute path, ensuring it works correctly regardless of the environment.
Adds the JUnit reporter to the Playwright configuration.
This allows for generating JUnit-compatible XML reports, which can be useful for integrating with CI/CD systems and other tools that consume JUnit reports.
Updates the path to the test results directory in the workflow file to reflect the new location.
This ensures the workflow correctly accesses and reports test results.
Enhances debugging capabilities during test execution by adding logging to capture directory contents. This helps diagnose potential issues related to file access or environment setup within the test environment.
Adds the Ortoni reporter to the Playwright configuration.
This change ensures that Ortoni reports are generated both in CI and local environments, providing comprehensive test result analysis.
Moves the CASH-836 tag from the HeavyTruck test to the RepairOnly test.
This change ensures that the correct test case is associated with the corresponding issue in the issue tracking system.
Updates the tags for CashRepairInShopPayPal and CashRepairMobileCreditCard test cases to include the '@CASH-836' tag.
Removes the '@CASH-836' tag from the CashReplaceSplitWindshield test case.
Removes redundant path specification in the Playwright test command within the CI configuration.
This change streamlines the test execution process by eliminating unnecessary repetition of the Playwright path, improving readability and maintainability of the CI pipeline definition.
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.
Adds the `@CASH-836` tag to `CashRepairInShopAfterPay` and `CashReplaceSplitWindshield` tests.
This addition presumably links these tests to a specific issue or requirement tracked under CASH-836.
Removes unused variables from playwright-test.yml.
Adds the filter value to the workflow output, providing more visibility into the test selection process during CI runs.
This helps in debugging and verifying the correct test subset is being executed.