Migrate playwright to typescript

This commit is contained in:
Anbraten 2024-11-08 09:55:54 +01:00
parent 30f795d925
commit 3a3416c069
No known key found for this signature in database
GPG key ID: B1222603899C6B25
25 changed files with 42 additions and 79 deletions

View file

@ -79,7 +79,7 @@ func TestMain(m *testing.M) {
// TestE2e should be the only test e2e necessary. It will collect all "*.test.e2e.js" files in this directory and build a test for each.
func TestE2e(t *testing.T) {
// Find the paths of all e2e test files in test directory.
searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.js")
searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.ts")
paths, err := filepath.Glob(searchGlob)
if err != nil {
t.Fatal(err)