[BUG] Test times out while shutting down environment
See original GitHub issueContext:
- Playwright Version: 1.20.0
- Operating System: Mac
- Node.js version: 12.22
- Browser: Chromium, WebKit
- Extra: [any specific details about your environment]
Code Snippet
test('example test', async ({ page }) => {
await page.goto(<MY_URL>); // can share the url privately
});
// config.js
use: {
headless: true,
trace: 'retain-on-failure',
screenshot: 'on',
},
projects: [
{
name: 'Desktop Chrome',
use: { ...devices['Desktop Chrome'] },
},
]
Describe the bug
Navigating to MY_URL times out and reports the following error:
Timeout of 20000ms exceeded while shutting down environment
Browser logs:
pw:browser <launching> /Users/test/Library/Caches/ms-playwright/chromium-978106/chrome-mac/Chromium.app/Contents/MacOS/Chromium --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,AcceptCHFrame,AutoExpandDetailsElement --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --enable-use-zoom-for-dsf=false --no-sandbox --user-data-dir=/var/folders/z0/5n6p2nrn1p7_q6x11nb1ck1m0000gq/T/playwright_chromiumdev_profile-zUHo3B --remote-debugging-pipe --no-startup-window +0ms
pw:browser <launched> pid=23926 +7ms
pw:browser [pid=23926][err] [23926:68355:0321/104018.011736:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for tags.knewz.com failed: +6s
pw:browser [pid=23926][err] ----- Certificate i=0 (CN=tags.knewz.com) ----- +0ms
pw:browser [pid=23926][err] ERROR: Time is after notAfter +0ms
pw:browser [pid=23926][err] +0ms
pw:browser [pid=23926][err] +0ms
pw:browser [pid=23926][err] [23926:51715:0321/104018.011955:ERROR:ssl_client_socket_impl.cc(996)] handshake failed; returned -1, SSL error code 1, net_error -201 +0ms
pw:browser [pid=23926][err] [23989:259:0321/104026.452691:ERROR:system_services.cc(31)] SetApplicationIsDaemon: Error Domain=NSOSStatusErrorDomain Code=-50 "paramErr: error in user parameter list" (-50) +8s
pw:browser [pid=23926][err] 2022-03-21 10:40:31.443 Chromium Helper[23989:567532] In -[NSApplication(NSQuietSafeQuit) _updateCanQuitQuietlyAndSafely], _LSSetApplicationInformationItem(NSCanQuitQuietlyAndSafely) returned error -50 +
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Troubleshoot pipeline runs - Azure DevOps
A pipeline may run for a long time and then fail due to job time-out. Job timeout closely depends on the agent being...
Read more >How to Troubleshoot Blue Screen or STOP Error Code on ...
Run a hardware diagnostic test · Turn on the computer and tap the F2 key several times until you see the One Time...
Read more >Dynos and the Dyno Manager
The application processes have 30 seconds to shut down cleanly (ideally, they will do so more quickly than that). During this time they...
Read more >What is staging environment? | Definition from TechTarget
At a time when users have little patience for poorly performing apps, finding bugs and software errors is vital for performance. Staging environments...
Read more >445449 – Shutting down from Plasma Wayland causes ...
30 sec. delay while waiting for systemd to stop Simple > > Desktop Display Manager. This times out and forces a SIGKILL to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I can confirm that my test is passing on
npm i playwright@1.20.1-beta-1648061377000. Thank you!!It looks like v1.20.1 fixed this one.