Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(dashboard): retry pending reveal on TabsChanged (#40775)
Simon Knott64c117a5b8d6
diff --git a/packages/playwright-core/src/tools/dashboard/dashboardController.ts b/packages/playwright-core/src/tools/dashboard/dashboardController.tsindex 670eed56f6..b11df9415d 100644--- a/packages/playwright-core/src/tools/dashboard/dashboardController.ts+++ b/packages/playwright-core/src/tools/dashboard/dashboardController.ts@@ -61,7 +61,10 @@ export class DashboardConnection implements Transport {this._pushSessions();void this._tryRevealPending();});- this._provider.on(SessionProviderEvent.TabsChanged, () => this._pushTabs());+ this._provider.on(SessionProviderEvent.TabsChanged, () => {+ this._pushTabs();+ void this._tryRevealPending();+ });this._provider.on(SessionProviderEvent.ContextClosed, context => {if (this._attachedPage?.page.context() === context) {this._attachedPage.dispose();