From e29c36fb5cf89d83ac7bc4764ddecef45ab22c40 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Wed, 18 Jun 2025 04:53:33 -0400 Subject: [PATCH] Change the test make to build the runtests but not run it so that I can set a constant security under windows, but messed it up. --- Makefile | 3 ++- tests/chromedp_test.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6027599..97ab5a7 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,8 @@ docs: go tool pkgsite --open test: - go test zedshaw.games/webapp/tests + go test zedshaw.games/webapp/tests -c -o runtests + ./runtests dev: go tool air -build.stop_on_error "true" diff --git a/tests/chromedp_test.go b/tests/chromedp_test.go index 889a3fb..6e617fb 100644 --- a/tests/chromedp_test.go +++ b/tests/chromedp_test.go @@ -26,7 +26,7 @@ func TestStreamPage(t *testing.T) { var example string - Run(assert, ctx, + Run(assert, ctx, browser.Navigate(`http://127.0.0.1:5002`), browser.WaitVisible(`body > footer`), browser.Click(`#streams`, browser.NodeVisible),