Add eslint rules for Playwright tests
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3587337. -->
Reported by: [justafish](https://www.drupal.org/user/161058)
Related to !999
>>>
<h3 id="overview">Overview</h3>
<p>After a discussion yesterday about some tips for writing stable Playwright tests, it was suggested we could add some helpers to guide people away from anti-patterns. Turns out there's a nice eslint package for that <a href="https://www.npmjs.com/package/eslint-plugin-playwright">eslint-plugin-playwright</a></p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>Add eslint-plugin-playwright and fix any violations is raises</p>
issue