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 robottests for latest contentbrowser updates #4018

Closed
wants to merge 2 commits into from

Conversation

petschki
Copy link
Member

@petschki petschki commented Oct 2, 2024

@mister-roboto
Copy link

@petschki 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!

@petschki petschki requested a review from 1letter October 2, 2024 10:21
Copy link
Contributor

@1letter 1letter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks! Sidenote: If i run bin/test -s Products.CMFPlone -t test_contentbrowser.robot --all all is fine, but if i run ROBOT_BROWSER=chrome bin/test -s Products.CMFPlone -t test_contentbrowser.robot --all then some tests fails. I think it is a viewport misconfiguration, and has nothing todo with the tests.

@petschki
Copy link
Member Author

petschki commented Oct 3, 2024

OK, on my Mac both commands run without failures.
I mark this PR as draft thought because it needs merged staticresources first.

@petschki petschki marked this pull request as draft October 3, 2024 08:38
@1letter
Copy link
Contributor

1letter commented Oct 3, 2024

OK, on my Mac both commands run without failures. I mark this PR as draft thought because it needs merged staticresources first.

That was the reason why I recently changed the the tests with the JS Hack in the tests. But this happens only on my small Notebook at Home. On my PC at work with a larger Screen all tests run without problems. I think it's a Selenium thing. I hope that all the Problems go away with port of tests to playwright. But this takes a while. The CI is sometimes broken, depending on which node the tests are running. that's my impression.

@petschki
Copy link
Member Author

petschki commented Oct 3, 2024

There was a version update recently on coredev which looks like it made the tests flaky. I've created a PR which reverts this.

plone/buildout.coredev#948

@petschki
Copy link
Member Author

this is outdated ... I'll update to playwright asap

@petschki petschki closed this Oct 23, 2024
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