File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,12 @@ pkgs.nixosTest {
5353 ''
5454 # wait for service
5555 machine.wait_for_unit("strykeforce-website.service")
56- machine.wait_until_succeeds("curl -sLf http://localhost:8000/static/2767/main.css")
57- machine.succeed("curl -sLf http://localhost:8000/static/2767/main.js")
58- html = machine.succeed("curl -sLf http://localhost:8000/admin/")
59- assert "<title>Sign in - Wagtail</title>" in html
56+ with subtest("check static files"):
57+ machine.wait_until_succeeds("curl -sLf http://localhost:8000/static/2767/main.css")
58+ machine.succeed("curl -sLf http://localhost:8000/static/2767/main.js")
59+
60+ with subtest("check for login page"):
61+ html = machine.succeed("curl -sLf http://localhost:8000/admin/")
62+ assert "<title>Sign in - Wagtail</title>" in html
6063 '' ;
6164}
You can’t perform that action at this time.
0 commit comments