Containerize Playwright end-to-end tests to resolve screenshot comparison issues caused by OS differences #1114
Labels
area:tests
Related to automated tests of any kind
area:tools
Issues affecting Apache KIE tooling projects
Currently, some Playwright tests use screenshot comparisons, which are prone to failure due to operating system differences, such as variations in fonts and UI rendering [1][2][3]. These inconsistencies lead to unreliable test results across different environments.
To address this issue, we need to standardize how tests are executed within the kie-tools monorepo. By leveraging containers, we can create a stable, consistent environment for running tests, independent of the host OS. This approach ensures reproducibility and resolves screenshot comparison failures.
[1] microsoft/playwright#8161
[2] microsoft/playwright#16104
[3] microsoft/playwright#6907
The text was updated successfully, but these errors were encountered: