Skip to content

Releases: mskelton/eslint-plugin-playwright

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)

v1.6.2

22 May 02:31
d894de6
Compare
Choose a tag to compare

1.6.2 (2024-05-22)

Bug Fixes

  • prefer-to-have-count: Support variable references (#292) (d894de6)

v1.6.1

13 May 13:10
b0fb7cd
Compare
Choose a tag to compare

1.6.1 (2024-05-13)

Bug Fixes

  • prefer-web-first-assertions: Support variable reassignment (#287) (b0fb7cd)

Documentation

  • fix usage guide flat recommended rules (#283) (1fe2c5e)

v1.6.0

09 Apr 23:50
37ec903
Compare
Choose a tag to compare

1.6.0 (2024-04-09)

Features

  • Add support for custom rule messages (#280) (08fc723)

Documentation

v1.5.4

22 Mar 02:05
a9045db
Compare
Choose a tag to compare

1.5.4 (2024-03-22)

Bug Fixes

  • valid-expect: Don' mark expect.anything() as invalid. (a9045db)

v1.5.3

20 Mar 13:02
bf821f5
Compare
Choose a tag to compare

1.5.3 (2024-03-20)

Bug Fixes

  • Make config TypeScript compatible (777ab12)
  • prefer-web-first-assertions: Fix error with nested call expressions (bf821f5), closes #276

Tests

  • valid-describe-callback: Add test case for async describe with tags (ae78045)

v1.5.2

04 Mar 15:30
b3768f8
Compare
Choose a tag to compare

1.5.2 (2024-03-04)

Bug Fixes

  • valid-describe-callback: Support unnamed describe (b3768f8)

v1.5.1

28 Feb 13:07
1affb2e
Compare
Choose a tag to compare

1.5.1 (2024-02-28)

Bug Fixes

  • require-hook: False positive when using new options argument (8a06748)
  • valid-describe-callback: False positive when using new options argument (c25d200), closes #266

Documentation

  • Add missing URLs to rules (26998b5)

v1.5.0

28 Feb 04:32
99f11c7
Compare
Choose a tag to compare

1.5.0 (2024-02-28)

Features

Bug Fixes

  • no-useless-not: Add support for visible and enabled options (e97a62b)

Documentation

  • no-standalone-expect: Improve documentation around best practices (95fcfd8)

v1.4.2

27 Feb 22:37
6bc2576
Compare
Choose a tag to compare

1.4.2 (2024-02-27)

Bug Fixes

  • valid-describe-callback: False positive with test.describe.configure (91988d5)

Tests

  • Add more test cases test configuration (6bc2576)