Commit 4ec135f9 by Csók Tamás

updated fab selenium command

parent 0922e15c
...@@ -111,12 +111,14 @@ def test(test=""): ...@@ -111,12 +111,14 @@ def test(test=""):
@roles('portal') @roles('portal')
def selenium(test=""): def selenium(test=""):
"Run portal selenium tests" "Run selenium tests"
with _workon("circle"), cd("~/circle/circle"): with _workon("circle"), cd("~/circle/circle"):
# TODO Check if the user have any X so we don't have force xvfb if test == "f":
test = "--failed"
else:
test += " --with-id"
run("xvfb-run ./manage.py test " run("xvfb-run ./manage.py test "
"--settings=circle.settings.selenium_test %(test)s" % { "--settings=circle.settings.selenium_test %s" % test)
'test': test})
def pull(dir="~/circle/circle"): def pull(dir="~/circle/circle"):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment