Skip to content

Commit

Permalink
Merge pull request #132 from plone/volto_3294_new_fixture
Browse files Browse the repository at this point in the history
Restore PLONE_ROBOT_TESTING and create new VOLTO_ROBOT_TESTING with T…
  • Loading branch information
mauritsvanrees authored May 9, 2022
2 parents 6ac8cdd + c2cc096 commit bc8ddf2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion news/131.bugfix
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Fix test layer used for Volto Cypress test to not accept requests between tests.
Fix Volto Cypress tests by adding a new functional test layer plone.app.robotframework.testing.VOLTO_ROBOT_TESTING layer, which does not not accept requests between tests cases.
[datakurre]
11 changes: 10 additions & 1 deletion src/plone/app/robotframework/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,20 @@ def testTearDown(self):
bases=(
PLONE_ROBOT_FIXTURE,
REMOTE_LIBRARY_BUNDLE_FIXTURE,
WSGI_SERVER_TEST_SCOPE_FIXTURE,
WSGI_SERVER_FIXTURE,
),
name="Plone:Robot",
)

VOLTO_ROBOT_TESTING = FunctionalTesting(
bases=(
PLONE_ROBOT_FIXTURE,
REMOTE_LIBRARY_BUNDLE_FIXTURE,
TEST_SCOPE_WSGI_SERVER_FIXTURE,
),
name="Volto:Robot",
)


if HAS_SPEAKJS:

Expand Down

0 comments on commit bc8ddf2

Please sign in to comment.