From 1505482a2fb436016d6cf89deef75b6353d23d9c Mon Sep 17 00:00:00 2001 From: Gil Forcada Codinachs Date: Fri, 6 Oct 2023 11:44:28 +0200 Subject: [PATCH] fix(robot): prime browsers before running tests --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 06ce1354..cd900737 100644 --- a/tox.ini +++ b/tox.ini @@ -96,6 +96,7 @@ deps = # constraints_file = "https://my-server.com/constraints.txt" ## commands = + rfbrowser init zope-testrunner --all --test-path={toxinidir} -s plone.app.discussion {posargs} extras = test @@ -129,6 +130,7 @@ deps = zope.testrunner -c https://dist.plone.org/release/6.0-dev/constraints.txt commands = + rfbrowser init coverage run --branch --source plone.app.discussion {envbindir}/zope-testrunner --quiet --all --test-path={toxinidir} -s plone.app.discussion {posargs} coverage report -m --format markdown coverage xml