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.

This commit is contained in:
Zed A. Shaw 2025-06-18 04:53:33 -04:00
parent 849943a01e
commit e29c36fb5c
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,8 @@ docs:
go tool pkgsite --open go tool pkgsite --open
test: test:
go test zedshaw.games/webapp/tests go test zedshaw.games/webapp/tests -c -o runtests
./runtests
dev: dev:
go tool air -build.stop_on_error "true" go tool air -build.stop_on_error "true"

View file

@ -26,7 +26,7 @@ func TestStreamPage(t *testing.T) {
var example string var example string
Run(assert, ctx, Run(assert, ctx,
browser.Navigate(`http://127.0.0.1:5002`), browser.Navigate(`http://127.0.0.1:5002`),
browser.WaitVisible(`body > footer`), browser.WaitVisible(`body > footer`),
browser.Click(`#streams`, browser.NodeVisible), browser.Click(`#streams`, browser.NodeVisible),