From 5a9bf683ae03b7d2b695ec4d1c59b6cf2ceade6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20L=C3=B3pez?= <1953782+julio-lopez@users.noreply.github.com> Date: Tue, 31 Mar 2026 12:41:36 -0700 Subject: [PATCH] use gotestsum for htmlui-e2e tests (#5258) --- .github/workflows/htmlui-tests.yml | 2 ++ Makefile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/htmlui-tests.yml b/.github/workflows/htmlui-tests.yml index 4ec2d7c33..a238148cf 100644 --- a/.github/workflows/htmlui-tests.yml +++ b/.github/workflows/htmlui-tests.yml @@ -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 diff --git a/Makefile b/Makefile index 92728dc4a..0818105b2 100644 --- a/Makefile +++ b/Makefile @@ -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)