Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: remove bright counter from sidebar tab selector (#31975)

Yury Semikhatsky5a80ddfaf91f
diff --git a/packages/web/src/components/tabbedPane.tsx b/packages/web/src/components/tabbedPane.tsx
index b72ae200fa..2f5208a673 100644
--- a/packages/web/src/components/tabbedPane.tsx
+++ b/packages/web/src/components/tabbedPane.tsx
@@ -63,14 +63,10 @@ export const TabbedPane: React.FunctionComponent<{
}}>
{tabs.map(tab => {
let suffix = '';
- if (tab.count === 1)
- suffix = ' 🔵';
- else if (tab.count)
- suffix = ` 🔵✖️${tab.count}`;
- if (tab.errorCount === 1)
- suffix = ` 🔴`;
- else if (tab.errorCount)
- suffix = ` 🔴✖️${tab.errorCount}`;
+ if (tab.count)
+ suffix = ` (${tab.count})`;
+ if (tab.errorCount)
+ suffix = ` (${tab.errorCount})`;
return <option value={tab.id} selected={tab.id === selectedTab}>{tab.title}{suffix}</option>;
})}
</select>