use gotestsum for htmlui-e2e tests (#5258)

This commit is contained in:
Julio López
2026-03-31 12:41:36 -07:00
committed by GitHub
parent 67f26feb93
commit 5a9bf683ae
2 changed files with 4 additions and 1 deletions

View File

@@ -36,6 +36,8 @@ jobs:
go-version-file: 'go.mod'
check-latest: true
id: go
- name: Install gotestsum
run: make install-gotestsum
- name: Run Tests
run: make htmlui-e2e-test
- name: Upload Screenshots

View File

@@ -385,8 +385,9 @@ ifneq ($(GOOS),windows)
-e github.com/kopia/kopia/issues && exit 1 || echo repo/ layering ok
endif
htmlui-e2e-test: GOTESTSUM_FORMAT=testname
htmlui-e2e-test:
HTMLUI_E2E_TEST=1 go test -timeout 600s github.com/kopia/kopia/tests/htmlui_e2e_test -v $(TEST_FLAGS)
HTMLUI_E2E_TEST=1 $(GO_TEST) -timeout 600s github.com/kopia/kopia/tests/htmlui_e2e_test -v $(TEST_FLAGS)
htmlui-e2e-test-local-htmlui-changes:
(cd ../htmlui && npm run build)