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(html): properly handle retry button highlight, fixing contrast issue (#36861)
Adam Gastineau8f12ad0f8be7
diff --git a/packages/html-reporter/src/colors.css b/packages/html-reporter/src/colors.cssindex c112498294..42b254ffa3 100644--- a/packages/html-reporter/src/colors.css+++ b/packages/html-reporter/src/colors.css@@ -215,6 +215,7 @@ SOFTWARE. */--color-header-search-border: #57606a;--color-sidenav-selected-bg: #ffffff;--color-menu-bg-active: rgba(0,0,0,0);+ --color-control-transparent-bg-hover: #818b981a;--color-input-disabled-bg: rgba(175,184,193,0.2);--color-timeline-badge-bg: #eaeef2;--color-ansi-black: #24292f;@@ -649,6 +650,7 @@ SOFTWARE. */--color-header-search-border: #30363d;--color-sidenav-selected-bg: #21262d;--color-menu-bg-active: #161b22;+ --color-control-transparent-bg-hover: #656c7633;--color-input-disabled-bg: rgba(110,118,129,0);--color-timeline-badge-bg: #21262d;--color-ansi-black: #484f58;diff --git a/packages/html-reporter/src/tabbedPane.css b/packages/html-reporter/src/tabbedPane.cssindex 7a128da217..042ab9f760 100644--- a/packages/html-reporter/src/tabbedPane.css+++ b/packages/html-reporter/src/tabbedPane.css@@ -59,12 +59,16 @@overflow: hidden;text-overflow: ellipsis;display: inline-block;+ height: 30px;+ padding: 0 8px;+ border-radius: 6px;}-.tabbed-pane-tab-element.selected {- border-bottom-color: #666;+.tabbed-pane-tab-label:hover {+ background-color: var(--color-control-transparent-bg-hover);}-.tabbed-pane-tab-element:hover {- color: #333;+.tabbed-pane-tab-element.selected {+ border-bottom-color: #666;+ -webkit-text-stroke: 0.5px currentColor;}diff --git a/packages/html-reporter/src/tabbedPane.tsx b/packages/html-reporter/src/tabbedPane.tsxindex af15b6b4fa..25d1f72169 100644--- a/packages/html-reporter/src/tabbedPane.tsx+++ b/packages/html-reporter/src/tabbedPane.tsx@@ -15,6 +15,7 @@*/import { clsx } from '@web/uiUtils';+import './colors.css';import './tabbedPane.css';import * as React from 'react';diff --git a/packages/html-reporter/src/testCaseView.css b/packages/html-reporter/src/testCaseView.cssindex 9c8dd8f22e..496f1bdb2f 100644--- a/packages/html-reporter/src/testCaseView.css+++ b/packages/html-reporter/src/testCaseView.css@@ -41,6 +41,10 @@padding: 0 8px 8px;}+.selected .test-case-run-duration {+ -webkit-text-stroke: 0;+}+.test-case-run-duration {color: var(--color-fg-muted);padding-left: 8px;