playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[BUG] M1 visual regression bug, navigation failed because page crashed

Open PascalvdHoek opened this issue 2 years ago • 7 comments

Describe the bug

This is the third time I submit this issue, All closed and solved, but I still get the error. Hasn't solved it for me. Are there any updates when It will be solved?

https://github.com/microsoft/playwright/issues/13722 https://github.com/microsoft/playwright/issues/13871 merged into https://github.com/microsoft/playwright/issues/14236

Repros:

  • https://github.com/PascalvdHoek/angular-playwright-bug

PascalvdHoek avatar Jun 22 '22 09:06 PascalvdHoek

First, sorry for the trouble and that the software is not working as intended!

The first issue was closed because we didn't get any repro. For the second it was merged into the third, not sure if it's the same tho. And the third was fixed recently (ssl not working on webkit, linux, arm).

Could you try using the development build? npm i @playwright/test@next to see if your issue is still persistent with the changes which get included in 1.23.

Can you confirm that you still have the same issue as in https://github.com/microsoft/playwright/issues/13871 with the same kind of project? Then I'd reopen https://github.com/microsoft/playwright/issues/13871 instead.

Unfortunately not a lot of people ran into it and having a linux/arm issue is not always easy to reproduce since it requires M1 notebooks.

mxschmitt avatar Jun 22 '22 09:06 mxschmitt

Is there also a docker image available with this version?

PascalvdHoek avatar Jul 05 '22 13:07 PascalvdHoek

Still got the issue with the v1.24.0-alpha-jul-5-2022

image

PascalvdHoek avatar Jul 05 '22 13:07 PascalvdHoek

This does look like a bug; I was able to repro.

aslushnikov avatar Jul 11 '22 15:07 aslushnikov

I still have this issue running 1.25.2 in my package and docker container

thebspin avatar Sep 14 '22 10:09 thebspin

@aslushnikov @dgozman @mxschmitt Any updates on this issue? or any tracks on where maybe the issue occurs? So I can do some research myself as well. But dunno where to start

PascalvdHoek avatar Sep 19 '22 11:09 PascalvdHoek

We already invested a few hours into debugging this issue. So here are some general debugging tips and direction where we should go:

  • Create a more minimal example, try to understand what's required that the page crashes
  • Set the DEBUG=pw:browser,pw:protocol env var to see what the protocol gives us, most likely just crashed: true

I unfortunately don't have a m1, so i can't look into it since its m1 specific.

mxschmitt avatar Sep 19 '22 11:09 mxschmitt

on m1, also crash on webkit when running playwright in docker

pencilcheck avatar Oct 26 '22 10:10 pencilcheck

It seems like there is some progression, since 1.27.1 some of test are passing, others are failing. When looking specific at which test succeeds and which fails, the webkit version is not stable.

All chromium related test are successful

some of the desktop-webkit fails, and most of the iphone-11-webkit fails

{
	name: 'desktop-webkit',
	use: { ...devices['Desktop Safari'], deviceScaleFactor: 1 },
},
{
	name: 'iphone-11-webkit',
	use: { ...devices['iPhone 11'] },
},

still using version 1.19.0 whereas here all tests are successful

rickvandermey avatar Nov 10 '22 11:11 rickvandermey

I can verify that this will be fixed in 1.29. You can wait until tomorrow and consume it via the canary releases: https://playwright.dev/docs/canary-releases

mxschmitt avatar Nov 24 '22 22:11 mxschmitt