microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
66.41k stars 3.63k forks source link

[BUG] Online traceviewer random 404s #12725

Closed slang25 closed 2 years ago

slang25 commented 2 years ago

I've created a sample trace that I've been sharing to show off how cool Playwright is, however people are reporting that things like image thumbnails are randomly failing. After a little digging I can see that some of the service worker requests result in 404s.

You can try this yourself by refreshing this sample a few times and watching the service worker network requests: https://trace.playwright.dev/?trace=https://pw-trace-demo.s3.eu-west-1.amazonaws.com/Search_For_DotNet_Core_chromium_macos_2022-03-08-00-24-44.zip

I'm unsure where exactly the problem lies, it could be in zip.js for example 🤔 Could be worth upgrading to the latest as there are a couple of fixes (not sure if they would resolve what we are seeing here).

image image

pavelfeldman commented 2 years ago

I can repro it via reloading several times and then scrubbing the preview.