mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
[CHORE] Add playwright eslint plugin
- Add https://github.com/playwright-community/eslint-plugin-playwright as a linter for the playwright tests. - `no-networkidle` and `no-conditional-in-test` are disabled as fixing those doesn't seem to really improve testing quality for our use case. - Some non-recommended linters are enabled to ensure consistency (the prefer rules).
This commit is contained in:
parent
d405143919
commit
40baa96fc3
11 changed files with 66 additions and 20 deletions
|
@ -1,6 +1,6 @@
|
|||
// @ts-check
|
||||
// document is a global in evaluate, so it's safe to ignore here
|
||||
/* eslint no-undef: 0 */
|
||||
// eslint playwright/no-conditional-in-test: 0
|
||||
import {test, expect} from '@playwright/test';
|
||||
|
||||
test('Explore view taborder', async ({page}) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue