From 5837161be63973dc1e6658c817279d99d9674878 Mon Sep 17 00:00:00 2001 From: Tristan Timblin Date: Sat, 24 Jan 2026 14:03:28 -0800 Subject: [PATCH] feat: add unit tests --- skills/playwright-skill/test.aptitude.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 skills/playwright-skill/test.aptitude.yml diff --git a/skills/playwright-skill/test.aptitude.yml b/skills/playwright-skill/test.aptitude.yml new file mode 100644 index 0000000..eb3fa85 --- /dev/null +++ b/skills/playwright-skill/test.aptitude.yml @@ -0,0 +1,17 @@ +name: "Playwright" +prompt: "/playwright-skill automate a task by going to 'https://github.com/microsoft/playwright' and getting the current semantic version of Playwright" +assertions: + + # Should use playwright-skill, not web search + - tool: WebSearch + called: false + + # Writes a script to /tmp/ + - tool: Write + params: + file_path: "/tmp/.*" + + # Runs the playwright skill with node run.js + - tool: Bash + params: + command: ".*\\.claude/skills/playwright-skill && node run\\.js.*" \ No newline at end of file