diff --git a/public/images/logo.png b/public/images/logo.png deleted file mode 120000 index b3d7ee4..0000000 --- a/public/images/logo.png +++ /dev/null @@ -1 +0,0 @@ -/Users/dom/projects/nimforum/forum.nim-lang.org/public/images/logo.png \ No newline at end of file diff --git a/tests/browsertester.nim b/tests/browsertester.nim index 1258bf9..77d4ada 100644 --- a/tests/browsertester.nim +++ b/tests/browsertester.nim @@ -21,8 +21,7 @@ const backend = "forum" const port = 5000 const baseUrl = "http://localhost:" & $port & "/" template withBackend(body: untyped): untyped = - ## Starts a new backend instance with a fresh DB. - doAssert(execCmd("nimble testdb") == QuitSuccess) + ## Starts a new backend instance. spawn runProcess("nimble -y runbackend") defer: @@ -51,6 +50,9 @@ when isMainModule: defer: discard execCmd("killall geckodriver") + # Create a fresh DB for the tester. + doAssert(execCmd("nimble testdb") == QuitSuccess) + doAssert(execCmd("nimble -y frontend") == QuitSuccess) echo("Waiting for geckodriver to startup...") sleep(5000)