From 167b5919c9b0370fe8fac3658578612c6730dab3 Mon Sep 17 00:00:00 2001 From: "Tommy D. Rossi" Date: Mon, 24 Nov 2025 12:01:11 +0100 Subject: [PATCH] about testing --- PLAYWRITER_AGENTS.md | 2 ++ playwriter/src/snapshots/shadcn-ui-accessibility.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PLAYWRITER_AGENTS.md b/PLAYWRITER_AGENTS.md index 399ff87..c233d62 100644 --- a/PLAYWRITER_AGENTS.md +++ b/PLAYWRITER_AGENTS.md @@ -54,3 +54,5 @@ NEVER call browser.close() in tests or any other code that interacts with our CD remember that every time the extension is activated in a tab that tab gets added to the available pages. so if you toggle the extension and then do .newPage() there will be 2 pages, not 1. to debug server or extension issues you can also inspect the file playwriter/relay-server.log to see both extension and server logs. with all cdp events sent. to see if there are events missing or something broken. this file is recreated every time the server is started and appended in real time. use rg to only read relevant lines and parts because it can get quite long + +tests will take about 30 seconds, so set a timeout of at least 60 seconds when running the test bash command diff --git a/playwriter/src/snapshots/shadcn-ui-accessibility.md b/playwriter/src/snapshots/shadcn-ui-accessibility.md index addfd5c..d961ae7 100644 --- a/playwriter/src/snapshots/shadcn-ui-accessibility.md +++ b/playwriter/src/snapshots/shadcn-ui-accessibility.md @@ -28,10 +28,10 @@ Return value: - generic [ref=e21]: - generic: ⌘ - generic: K - - link "100.5k" [ref=e22] [cursor=pointer]: + - link "100.6k" [ref=e22] [cursor=pointer]: - /url: https://github.com/shadcn-ui/ui - img - - generic [ref=e23]: 100.5k + - generic [ref=e23]: 100.6k - button "Toggle theme" [ref=e24]: - img - generic [ref=e25]: Toggle theme