Skip to content

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

fix: contrast on View Trace button (#35505)

Simon Knotta2ddb2a3eab2
diff --git a/packages/html-reporter/src/testFileView.tsx b/packages/html-reporter/src/testFileView.tsx
index 6f891533c8..966802b010 100644
--- a/packages/html-reporter/src/testFileView.tsx
+++ b/packages/html-reporter/src/testFileView.tsx
@@ -97,7 +97,7 @@ function traceBadge(test: TestCaseSummary): JSX.Element | undefined {
title={isFailed ? 'View Failing Trace' : 'View Trace'}
className={clsx('test-file-badge', isFailed && 'button')}>
{trace()}
- {isFailed && <span style={{ color: 'var(--color-scale-gray-7)' }}>View Failing Trace</span>}
+ {isFailed && <span style={{ color: 'var(--color-fg-subtle)' }}>View Failing Trace</span>}
</Link>;
}