From 02b862e294f2386913984773a4c3cc6608804565 Mon Sep 17 00:00:00 2001 From: Debbie O'Brien Date: Fri, 18 Jul 2025 16:05:55 +0200 Subject: [PATCH] Refactor Playwright tools list in prompts and chat modes to remove redundant entries as just adding playwright seems to be supported now --- chatmodes/playwright-tester.chatmode.md | 2 +- prompts/playwright-automation-fill-in-form.prompt.md | 2 +- prompts/playwright-explore-website.prompt.md | 2 +- prompts/playwright-generate-test.prompt.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chatmodes/playwright-tester.chatmode.md b/chatmodes/playwright-tester.chatmode.md index 6674ad5..d52abfb 100644 --- a/chatmodes/playwright-tester.chatmode.md +++ b/chatmodes/playwright-tester.chatmode.md @@ -1,6 +1,6 @@ --- description: 'Testing mode for Playwright tests' -tools: ['changes', 'codebase', 'editFiles', 'fetch', 'findTestFiles', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'playwright', 'browser_click', 'browser_close', 'browser_console_messages', 'browser_drag', 'browser_file_upload', 'browser_handle_dialog', 'browser_hover', 'browser_install', 'browser_navigate', 'browser_navigate_back', 'browser_navigate_forward', 'browser_network_requests', 'browser_pdf_save', 'browser_press_key', 'browser_resize', 'browser_select_option', 'browser_snapshot', 'browser_tab_close', 'browser_tab_list', 'browser_tab_new', 'browser_tab_select', 'browser_take_screenshot', 'browser_type', 'browser_wait_for'] +tools: ['changes', 'codebase', 'editFiles', 'fetch', 'findTestFiles', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'playwright'] model: Claude Sonnet 4 --- diff --git a/prompts/playwright-automation-fill-in-form.prompt.md b/prompts/playwright-automation-fill-in-form.prompt.md index 25f552f..1130624 100644 --- a/prompts/playwright-automation-fill-in-form.prompt.md +++ b/prompts/playwright-automation-fill-in-form.prompt.md @@ -1,7 +1,7 @@ --- description: 'Automate filling in a form using Playwright MCP' mode: agent -tools: ['playwright', 'browser_click', 'browser_close', 'browser_console_messages', 'browser_drag', 'browser_file_upload', 'browser_handle_dialog', 'browser_hover', 'browser_install', 'browser_navigate', 'browser_navigate_back', 'browser_navigate_forward', 'browser_network_requests', 'browser_pdf_save', 'browser_press_key', 'browser_resize', 'browser_select_option', 'browser_snapshot', 'browser_tab_close', 'browser_tab_list', 'browser_tab_new', 'browser_tab_select', 'browser_take_screenshot', 'browser_type', 'browser_wait_for'] +tools: ['playwright'] model: 'Claude Sonnet 4' --- diff --git a/prompts/playwright-explore-website.prompt.md b/prompts/playwright-explore-website.prompt.md index 265b92d..1608530 100644 --- a/prompts/playwright-explore-website.prompt.md +++ b/prompts/playwright-explore-website.prompt.md @@ -1,7 +1,7 @@ --- mode: agent description: 'Website exploration for testing using Playwright MCP' -tools: ['changes', 'codebase', 'editFiles', 'fetch', 'findTestFiles', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'playwright', 'browser_click', 'browser_close', 'browser_console_messages', 'browser_drag', 'browser_file_upload', 'browser_handle_dialog', 'browser_hover', 'browser_install', 'browser_navigate', 'browser_navigate_back', 'browser_navigate_forward', 'browser_network_requests', 'browser_pdf_save', 'browser_press_key', 'browser_resize', 'browser_select_option', 'browser_snapshot', 'browser_tab_close', 'browser_tab_list', 'browser_tab_new', 'browser_tab_select', 'browser_take_screenshot', 'browser_type', 'browser_wait_for'] +tools: ['changes', 'codebase', 'editFiles', 'fetch', 'findTestFiles', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'playwright'] model: 'Claude Sonnet 4' --- diff --git a/prompts/playwright-generate-test.prompt.md b/prompts/playwright-generate-test.prompt.md index 97d32ab..65a6f99 100644 --- a/prompts/playwright-generate-test.prompt.md +++ b/prompts/playwright-generate-test.prompt.md @@ -1,7 +1,7 @@ --- mode: agent description: 'Generate a Playwright test based on a scenario using Playwright MCP' -tools: ['changes', 'codebase', 'editFiles', 'fetch', 'findTestFiles', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'playwright', 'browser_click', 'browser_close', 'browser_console_messages', 'browser_drag', 'browser_file_upload', 'browser_handle_dialog', 'browser_hover', 'browser_install', 'browser_navigate', 'browser_navigate_back', 'browser_navigate_forward', 'browser_network_requests', 'browser_pdf_save', 'browser_press_key', 'browser_resize', 'browser_select_option', 'browser_snapshot', 'browser_tab_close', 'browser_tab_list', 'browser_tab_new', 'browser_tab_select', 'browser_take_screenshot', 'browser_type', 'browser_wait_for'] +tools: ['changes', 'codebase', 'editFiles', 'fetch', 'findTestFiles', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'testFailure', 'playwright'] model: 'Claude Sonnet 4' ---