New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'userDataDir option should restore state' test is flakily timing out for Firefox #7615
Comments
Hard to say without seeing trace logs. But I would assume that Firefox had a problem during startup so that enabling the CDP protocol happened too late. @jschfflr, would it be possible to set the |
We actually have https://bugzilla.mozilla.org/show_bug.cgi?id=1713030 for that. So I would take a look over there. |
Given that it's also happening on your side would it be possible to run the tracing version there and to disable the test on Puppeteer's CI for now? |
Yesterday I noticed a strange behavior when running Puppeteer with Firefox and having trace logging enabled. Whenever our CDP implementation logs something to @jschfflr, given that Puppeteer uses both could it be that it's no longer processing the output once it has received the DevTools WebSocket URL for CDP? The situation on this issue is a bit different but it could be related. Locally it is kinda annoying because I'm not able to run Puppeteer with trace logs anymore. Maybe something has been changed here recently? |
Probably not, but it's towards the path of letting me run tests locally with custom builds. We will see how it goes once that PR got merged. |
The problem is that this test creates a temporary folder for the Firefox profile, but the default Firefox preferences aren't getting set. This means the profile isn't actually usable with Puppeteer. Chrome doesn't exhibit this problem because all settings are done via command line arguments. @jschfflr extracting the profile location from the Firefox arguments inside the Launcher is not ideal and failure prone if eg no path has been set after |
Example run: https://github.com/puppeteer/puppeteer/pull/7614/checks?check_run_id=3745478501
@whimboo Do you know what might be causing this?
The text was updated successfully, but these errors were encountered: