chore: update coding conventions and best practices for this repo (#8482)

This commit is contained in:
Bijin A B
2026-07-04 16:55:52 +05:30
committed by GitHub
parent acc74745de
commit b6187b40e1
3 changed files with 257 additions and 108 deletions

View File

@@ -39,7 +39,8 @@ reviews:
- path: 'tests/**/**.*'
instructions: |
Review the following e2e test code written using the Playwright test library. Ensure that:
- Follow best practices for Playwright code and e2e automation
- Follow the guidance in `docs/playwright-testing-guide.md` - the canonical E2E guide (structure, fixtures, best practices).
- For anything the guide above doesn't cover, follow standard Playwright and e2e automation best practices
- Try to reduce usage of `page.waitForTimeout();` in code unless absolutely necessary and the locator cannot be found using existing `expect()` playwright calls
- Avoid using `page.pause()` in code
- Use locator variables for locators