Skip to content

Releases: playwright-community/eslint-plugin-playwright

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)

v1.4.1

27 Feb 14:02
b325718
Compare
Choose a tag to compare

1.4.1 (2024-02-27)

Bug Fixes

  • valid-describe-callback: Fix false negatives (dd1db89)
  • valid-title: False positives with test.use, test.describe.configure, and test.slow (33b2905), closes #258
  • valid-title: Fix more false positives and reduce future chance of error (3e99e55)

Documentation

  • Fix typos from waitForUrl to waitForURL (#256) (b325718)

v1.4.0

27 Feb 02:51
3bb8c6a
Compare
Choose a tag to compare

1.4.0 (2024-02-27)

Features

  • Add valid-describe-callback rule (c0bd18e)
  • Add valid-expect-in-promise rule (cbf356d)
  • Add require-to-throw-message rule (3bb8c6a)

Tests

  • require-hook: Add more test cases (7258d98)
  • require-hook: Add test for valid test.use usage (13141cc)

Refactoring

This release brings with it some major refactoring to the internals of the plugin to improve consistency, performance, and future enhancements. This should not cause any issues as we have a very extensive test suite, but if you encounter any issues, please let us know!

v1.3.1

24 Feb 17:13
5524bf7
Compare
Choose a tag to compare

1.3.1 (2024-02-24)

Bug Fixes

  • no-standalone-expect: Allow expect() calls in test hooks (5524bf7), closes #242
  • require-hook: Allow test.describe.configure outside of hooks (df7e4b2)

Tests