diff --git a/news/131.bugfix b/news/131.bugfix index ed1a042..c165d64 100644 --- a/news/131.bugfix +++ b/news/131.bugfix @@ -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] diff --git a/src/plone/app/robotframework/testing.py b/src/plone/app/robotframework/testing.py index 2a4e9bc..67cadd2 100644 --- a/src/plone/app/robotframework/testing.py +++ b/src/plone/app/robotframework/testing.py @@ -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: