Context:
- GOOD Playwright Version: [1.35.1]
- BAD Playwright Version: [1.36.0]
- Operating System: [Docker Container - Ubuntu 20.4]
- Extra: [We run tests by creating a new container of above Linux flavour and always pick the latest playwright version]
Code Snippet
Here is console log of error
11:07:37 [1]
11:07:37 [1] Error: A snapshot doesn't exist at /home/jenkins/workspace/path/to/file/tests/snapshots/DSK-25814-ToolsBasicOperations.spec.ts-snapshots/DSK-25814-4-magnify-tool-must-zoom-in-the-drawing-1-a183a6-firefox-linux.png.
11:07:37 [1]
11:07:37 [1] 32 | await application.toolbarButton("magnify").click();
11:07:37 [1] 33 |
11:07:37 [1] > 34 | await expect(application.canvas).toHaveScreenshot();
11:07:37 [1] | ^
11:07:37 [1] 35 | });
11:07:37 [1] 36 |
11:07:37 [1] 37 | test("DSK-25814-5 reduce tool must zoom out the drawing", async ({ application}) => {
11:07:37 [1]
11:07:37 [1] at /home/jenkins/workspace/path/to/file/tests/snapshots/tests/DSK-25814-ToolsBasicOperations.spec.ts:34:33
Describe the bug
In latest version of Playwright test run in container, it started adding a random string in the file name which in this example is 'a183a6'. This happens only when running the tests in an Ubuntu 20.4 docker container.
Context:
Code Snippet
Here is console log of error
Describe the bug
In latest version of Playwright test run in container, it started adding a random string in the file name which in this example is 'a183a6'. This happens only when running the tests in an Ubuntu 20.4 docker container.