volto icon indicating copy to clipboard operation
volto copied to clipboard

Test backend logging output gives no mention that site is ready for testing

Open ichim-david opened this issue 1 year ago • 1 comments

Using Volto from the main branch and trying to setup the cypress testing by following the guide from https://6.docs.plone.org/volto/contributing/acceptance-tests.html#how-to-run-acceptance-tests-locally-during-development You end up with this experience: test-backend-output You don't get any ready flag, just an error that plone.app.event is already added. You get some info about the backend only when you ctrl + c as seen in my screenshot.

Going to http://localhost:55001/ will show you a lovely we're sorry message were-sorry A normal plone start would show you the plone setup screen where you see that you have a plone site up and running and you could click to take you to http://localhost:55001/plone

This makes you believe that the backend is broken when in fact it works if you know to visit then http://localhost:55001/plone

ichim-david avatar Jan 23 '24 18:01 ichim-david

Related fixes:

  1. https://github.com/plone/plone.app.robotframework/pull/154 avoids the warning about installing plone.app.event
  2. https://github.com/plone/plone.app.robotframework/pull/155 fixes printing the server URL
  3. https://github.com/plone/volto/pull/5748 makes sure the output is not buffered.

davisagli avatar Feb 11 '24 06:02 davisagli