Playwright - Multiple viewports testing is not possible anymore #443
Description
Activity
With
0.12.8the writtentest-results/chromatic-archivesof these two projects are still overwriting each other. In #258 it was reported that this happened with0.11.2too.This work-around should work though: #258 (comment)
We should really apply that as default behaviour, but it would be breaking change.
@AriPerkkio I don't think that is completely correct. With
0.12.8our multi-viewport setup via multi-playwright-project config worked just fine. When upgraded to0.14.12, it stopped working - the project that is defined last in the config just wins over the others and we end up having snapshots only for a single viewport.This might have broken in #318.
Can you check if@chromatic-com/playwright@0.13.1works fine, and if@chromatic-com/playwright@0.13.2introduces the bug?There is now preview build available at #444 (comment). Could you check if that works correctly?
@AriPerkkio thanks, will try it today and report back
Reacted by Kaspar Naaber@zuzusik did you have a change to test the preview build?
Describe the bug
Following official docs to setup Playwright to test for multiple viewports doesn't work anymore - only a single viewport is being tested.
To Reproduce
Expected behavior
Snapshots are present for multiple viewports.
Screenshots
N/A
Additional context
I believe this is a result of #401
The problem doesn't exist in
@chromatic-com/playwrightversion0.12.8, exists in latest (0.14.12at the moment of writing)This is a blocker for us - we test multiple viewports.