Releases: playwright-community/eslint-plugin-playwright
Releases · playwright-community/eslint-plugin-playwright
v2.2.1
2.2.1 (2025-07-28)
Features
- Support addInitScript in no-unsafe-references
- Add toContainClass method
- Add valid-test-tags rule
- Add no-wait-for-navigation rule
Bug Fixes
- clean published package.json (#371) (b8401e5), closes #360
- no-conditional-in-test does not trigger for conditionals in test metadata (fixes #363) (#372) (12b0832)
- Remove no-slowed-test from recommended list (#348) (6baec3a)
- Support non-awaited expressions in prefer-web-first-assertions
- Allow valid locators declared as variables
- Fix false positive when using allowConditional
v2.2.0
v2.1.0
v2.0.1
v2.0.0
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.0
1.7.0 (2024-10-11)
Features
- prefer-locator: Add rule to suggest not using page methods (#315) (731a4e1)
- prefer-native-locators: Add rule to suggest using built-in locators (#308) (e6f92b0)
- prefer-to-have-count: Warn about use of
.all()
and.toHaveLength()
(149ddc2), closes #284 - Support
test.expect
style (6a84431), closes #297 - Apply title rules to
test.step
and addignoreTypeOfStepName
option (#309)