Skip to content

Releases: playwright-community/eslint-plugin-playwright

v2.2.1

28 Jul 03:55
45af975
Compare
Choose a tag to compare

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

23 Jan 15:30
956fe62
Compare
Choose a tag to compare

2.2.0 (2025-01-23)

Features

Bug Fixes

  • expect-expert: report on test function identifier rather than body (#337) (35e37a1)
  • prefer-comparison-matcher: Fix typo in docs (c269371), closes #343

v2.1.0

18 Nov 19:12
c067ad2
Compare
Choose a tag to compare

2.1.0 (2024-11-18)

Features

  • Add test.fail.only as a valid chain (c067ad2)

v2.0.1

06 Nov 12:22
faee198
Compare
Choose a tag to compare

2.0.1 (2024-11-06)

Bug Fixes

  • Fix types for native TypeScript ESM (4c61256)

v2.0.0

23 Oct 03:40
f566df5
Compare
Choose a tag to compare

2.0.0 (2024-10-23)

⚠ BREAKING CHANGES

  • Remove jest-playwright configs

Features

  • Remove jest-playwright configs (ba82509)

Bug Fixes

v1.8.3

23 Oct 02:29
591692d
Compare
Choose a tag to compare

1.8.3 (2024-10-23)

Bug Fixes

v1.8.2

23 Oct 02:19
9b7d8a5
Compare
Choose a tag to compare

1.8.2 (2024-10-23)

Bug Fixes

Documentation

  • max-expects: Fix README incorrectly marking max-expects as recommended (#324) (8778bd3)

v1.8.1

21 Oct 14:03
23663fb
Compare
Choose a tag to compare

1.8.1 (2024-10-21)

Bug Fixes

  • no-useless-await: Fix false positive with expect.poll and resolves/rejects (23663fb), closes #323

v1.8.0

19 Oct 22:54
6369932
Compare
Choose a tag to compare

1.8.0 (2024-10-19)

Features

  • no-useless-await: Remove useless awaits from expect methods (e283efc), closes #306

Bug Fixes

v1.7.0

11 Oct 12:30
ef33af2
Compare
Choose a tag to compare

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 add ignoreTypeOfStepName option (#309)

Bug Fixes

  • Flat config TypeScript fix (1b5aadb), closes #299
  • no-conditional-expect: Fix false positive with asymmetric matchers (#304) (3860f1e)