mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 04:12: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,4 +1,16 @@
|
|||
// @ts-check
|
||||
|
||||
// @watch start
|
||||
// templates/repo/actions/**
|
||||
// web_src/css/actions.css
|
||||
// web_src/js/components/ActionRunStatus.vue
|
||||
// web_src/js/components/RepoActionView.vue
|
||||
// modules/actions/**
|
||||
// modules/structs/workflow.go
|
||||
// routers/api/v1/repo/action.go
|
||||
// routers/web/repo/actions/**
|
||||
// @watch end
|
||||
|
||||
import {expect} from '@playwright/test';
|
||||
import {test, login_user, load_logged_in_context} from './utils_e2e.js';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue