mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
tests(e2e): Allow tests to run only on file changes
- supports glob patterns in testfiles - only runs tests on changes - always runs tests without specified patterns tests(e2e): refactor global watch patterns tests(e2e): add watch patterns to test files
This commit is contained in:
parent
f2a23c962a
commit
7765153b40
21 changed files with 260 additions and 7 deletions
|
@ -1,6 +1,12 @@
|
|||
// @ts-check
|
||||
// document is a global in evaluate, so it's safe to ignore here
|
||||
// eslint playwright/no-conditional-in-test: 0
|
||||
|
||||
// @watch start
|
||||
// templates/explore/**
|
||||
// web_src/modules/fomantic/**
|
||||
// @watch end
|
||||
|
||||
import {expect} from '@playwright/test';
|
||||
import {test} from './utils_e2e.js';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue