You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- explore the given website and generate a playwright test in TypeScript using 'playwright-test-coverage' package
8
+
- frontend/test folder contains existing tests. Use them as reference.
9
+
- DO NOT generate test code based on the scenario alone.
10
+
- DO run steps one by one using the tools provided by the Playwright MCP.
11
+
- When asked to explore a website:
12
+
1. Navigate to the specified URL
13
+
2. Explore all key functionalities of the site and when finished close the browser.
14
+
3. Implement a Playwright TypeScript test that uses 'playwright-test-coverage' based on message history using Playwright's best practices including role based locators, auto retrying assertions and with no added timeouts unless necessary as Playwright has built in retries and autowaiting if the correct locators and assertions are used.
15
+
- Save generated test file in the tests directory
16
+
- Execute the test file and iterate until tests passes
17
+
- Include appropriate assertions to verify the expected behavior
18
+
- Structure tests properly with descriptive test titles and comments
0 commit comments