-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a layer that creates a site Volto #80
Comments
The main difference is whether plone.volto is installed. plone.volto already has layers which are used for its own tests, and could be used as a basis for tests in other packages: https://github.com/plone/plone.volto/blob/main/src/plone/volto/testing.py The end-to-end Cypress tests in plone/volto also run against a backend with plone.volto installed. But, you're right. We should take a look at making more tests run with Volto. |
@davisagli wouldn't it be the case to bring the layer from No plans to make Site Volto the default testing site in the future? I know this will break a lot of tests, but it seems to be the way to go, since Volto will be Plone's default interface. |
@wesleybl I guess the first step is to try it and see how many tests will need to be adjusted. |
@davisagli well I think many tests will break. plone.volto removes the folders and many tests create folders. Also the use of blocks removes many content fields, which are accessed by robots tests. So we would have to create a "Plone Classic" layer to be used in all tests that break. |
See: #81 |
Another thing that would be nice is to have a version of plone.app.testing only for Plone 6. This would avoid having to mess with branches of packages that are only for Plone 5.2. |
Today all Plone tests are run on a Classic site. However, Volto is the default interface of Plone 6. It would be nice to have a layer that creates a Volto Site, so we can test against a Volto site. Maybe this layer should be made the "default layer" in the future.
The text was updated successfully, but these errors were encountered: