Adds attempt to test issue #181. Moves procs to common too.

Sadly the attempt wasn't a success. I decided to commit what I've
got so far and come back to it later. Out of time for this now.
This commit is contained in:
Dominik Picheta 2018-07-20 15:16:39 +01:00
commit 5714ad0c6a
5 changed files with 108 additions and 31 deletions

View file

@ -43,8 +43,7 @@ template withBackend(body: untyped): untyped =
body
import browsertests/scenario1
import browsertests/threads
import browsertests/[scenario1, threads, issue181]
when isMainModule:
spawn runProcess("geckodriver -p 4444 --log config")
@ -65,6 +64,8 @@ when isMainModule:
withBackend:
scenario1.test(session, baseUrl)
threads.test(session, baseUrl)
# TODO: Fix the issue181 test.
# issue181.test(session, baseUrl)
session.close()
except: