Skip to content
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

[Bug]: UI crashed #33141

Closed
drupal-spider opened this issue Oct 16, 2024 · 1 comment
Closed

[Bug]: UI crashed #33141

drupal-spider opened this issue Oct 16, 2024 · 1 comment

Comments

@drupal-spider
Copy link

drupal-spider commented Oct 16, 2024

Version

1.48.1

Steps to reproduce

npx playwright test --ui

UI open without any issue.

Run small amount of tests, no issue.

Run 2000+ visual comparison test.

Expected behavior

Finish all tests without error and UI should not crash.

Actual behavior

The UI crashed before showing the report at the end of the test with the following errors:

/node_modules/playwright-core/lib/server/chromium/crConnection.js:129
if (this._crashed || this._closed || this._connection._closed || this._connection._browserDisconnectedLogs) throw new _protocolError.ProtocolError(this._crashed ? 'crashed' : 'closed', undefined, this._connection._browserDisconnectedLogs);
^

ProtocolError:
at CRSession.send (/private/var/www/automated-test/node_modules/playwright-core/lib/server/chromium/crConnection.js:129:119)
at CRPage.bringToFront (/private/var/www/automated-test/node_modules/playwright-core/lib/server/chromium/crPage.js:185:42)
at Page.bringToFront (/private/var/www/automated-test/node_modules/playwright-core/lib/server/page.js:385:26)
at CRBrowserContext. (/private/var/www/automated-test/node_modules/playwright-core/lib/server/launchApp.js:51:20)
at CRBrowserContext.emit (node:events:519:28)
at Page.emitOnContext (/private/var/www/automated-test/node_modules/playwright-core/lib/server/page.js:128:26)
at Page.reportAsNew (/private/var/www/automated-test/node_modules/playwright-core/lib/server/page.js:111:10)
at CRPage._reportAsNew (/private/var/www/automated-test/node_modules/playwright-core/lib/server/chromium/crPage.js:129:16)
at /private/var/www/automated-test/node_modules/playwright-core/lib/server/chromium/crPage.js:118:12 {
type: 'crashed',
method: undefined,
logs: undefined
}

Node.js v22.9.0

Additional context

The same tests can run inside of the VS code with Playwright extension without any error.

Environment

macOS 15.0.1
CPU: Apple M1 Max
Memory: 32 GB
Store: 929.95 GB available

Node.js v22.9.0
NPM 10.8.3
@playwright/test@1.48.1
Chromium Version 130.0.6723.31 (Developer Build) (arm64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants