Skip to content
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

Fix tests for https://github.com/plone/Products.CMFPlone/issues/3486 #1359

Merged
merged 7 commits into from
May 3, 2022

Conversation

pbauer
Copy link
Member

@pbauer pbauer commented Apr 8, 2022

No description provided.

@mister-roboto
Copy link

@pbauer thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@tisto
Copy link
Member

tisto commented Apr 11, 2022

@pbauer can you elaborate on this? I guess we might need an if/else here for different Plone versions? Keep in mind that plone.restapi needs to support Plone 5.2 and Plone 6 at the same time.

@pbauer
Copy link
Member Author

pbauer commented Apr 11, 2022

I'll add if/else clauses. After #1364 is merged we can check here for Plone 6 or not without messing with alphas.

@pbauer
Copy link
Member Author

pbauer commented Apr 11, 2022

Wrong, since the tests run with 5.2 and 6.0.0a4 and 6.0 coredev all cases need to be covered. I'd rather set displayed_types to the defaults of Plone 6 at the beginning of the tests.

@pbauer pbauer requested a review from tisto April 11, 2022 14:34
@pbauer
Copy link
Member Author

pbauer commented Apr 11, 2022

I guess now it's ready for merge

@pbauer
Copy link
Member Author

pbauer commented Apr 11, 2022

@jenkins-plone-org please run jobs

@pbauer
Copy link
Member Author

pbauer commented Apr 12, 2022

@jenkins-plone-org please run jobs

@pbauer
Copy link
Member Author

pbauer commented Apr 12, 2022

Tests are finally green

@pbauer pbauer requested a review from tiberiuichim April 14, 2022 07:24
@pbauer pbauer merged commit 4d4bc63 into master May 3, 2022
@pbauer pbauer deleted the change_displayed_types_defaults branch May 3, 2022 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants