Skip to content

Commit 33f7633

Browse files
authored
fix - load a single tab at a time to improve UI perf #144 (#145)
1 parent 9f4c52a commit 33f7633

16 files changed

Lines changed: 1481 additions & 95 deletions

Makefile.test

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Fern Platform - Testing Makefile
22
# Handles all testing workflows using Dagger where appropriate
33

4-
.PHONY: test test-unit test-acceptance test-playwright coverage fmt lint vet
4+
.PHONY: test test-unit test-acceptance test-playwright test-performance coverage fmt lint vet
55

66
# Test targets
77
test: test-unit ## Run unit tests (default)
@@ -21,6 +21,12 @@ test-playwright: ## Run Playwright tests via Dagger (no k8s required)
2121
cd ci && dagger call acceptance-test-playwright --source=..
2222
@echo "✅ Playwright tests completed"
2323

24+
test-performance: ## Run GraphQL performance regression tests
25+
@echo "🧪 Running performance tests..."
26+
@echo "Note: Requires test data. Run './scripts/insert-test-data.sh' if not already done."
27+
cd acceptance && go run github.com/onsi/ginkgo/v2/ginkgo -v --label-filter="performance" ./performance
28+
@echo "✅ Performance tests completed"
29+
2430
coverage: test-unit ## Generate test coverage report
2531
@echo "📊 Generating coverage report..."
2632
go tool cover -html=coverage.out -o coverage.html

0 commit comments

Comments
 (0)