Skip to content

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

test: rebase test-output test (#36980)

Max Schmitt3b5cc9d8ae72
diff --git a/tests/playwright-test/ui-mode-test-output.spec.ts b/tests/playwright-test/ui-mode-test-output.spec.ts
index 75d4c545f8..75aa19a66d 100644
--- a/tests/playwright-test/ui-mode-test-output.spec.ts
+++ b/tests/playwright-test/ui-mode-test-output.spec.ts
@@ -205,7 +205,9 @@ test('should format console messages in page', async ({ runUITest }, testInfo) =
const link = page.getByText('https://fb.me/react-devtools');
await expect(link).toHaveCSS('color', 'rgb(0, 0, 255)');
- await expect(link).toHaveCSS('text-decoration', 'none solid rgb(0, 0, 255)');
+ await expect(link).toHaveCSS('text-decoration-color', 'rgb(0, 0, 255)');
+ await expect(link).toHaveCSS('text-decoration-style', 'solid');
+ await expect(link).toHaveCSS('text-decoration-line', 'none');
});
test('should stream console messages live', async ({ runUITest }) => {