From 7db3781abf2547bd2ef165f9f01c36ac92b34c05 Mon Sep 17 00:00:00 2001 From: Otto Richter Date: Sun, 10 Nov 2024 14:35:40 +0100 Subject: [PATCH] chore(e2e): Update global patterns Guard against regressions in template classes (see https://codeberg.org/forgejo/forgejo/pulls/5892 for example) Fix broken frontend test patterns as per https://codeberg.org/forgejo/forgejo/pulls/5734#issuecomment-2406914 --- tests/e2e/changes.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/e2e/changes.go b/tests/e2e/changes.go index acc1a796a4..d9ea830951 100644 --- a/tests/e2e/changes.go +++ b/tests/e2e/changes.go @@ -34,10 +34,11 @@ func initChangedFiles() { "tests/e2e/*.go", "tests/e2e/shared/*", // frontend files - "frontend/*.js", - "frontend/{base,index}.css", - // templates + "web_src/js/{index,utils}.*", + "web_src/css/{base,index}.css", + // templates and helpers "templates/base/**", + "modules/templates/**", } fullRunPatterns := []glob.Glob{} for _, expr := range globalPatterns {