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 Robot acceptance tests on Plone 4 #144

Closed
wants to merge 3 commits into from

Conversation

tomgross
Copy link
Member

No description provided.

@sneridagh
Copy link
Member

The acceptance tests for Plone 4 passes on master... so the amended tests already passes in master. @tisto @tomgross sorry but I can't tell the source of the problem... Am I missing something?

@tomgross
Copy link
Member Author

tomgross commented Oct 1, 2016

@sneridagh Two acceptance tests are skipped on master. That's why they are passing 😉
https://github.com/collective/collective.solr/blob/master/src/collective/solr/tests/robot/test_search.robot#L101

@tomgross
Copy link
Member Author

tomgross commented Oct 1, 2016

These skips are removed in this branch

@sneridagh
Copy link
Member

@tomgross got it! Thanks. I see what's happening, when the checkbox is clicked, the dropdown gets hidden :( I'll try to fix it.

@sneridagh
Copy link
Member

@tisto @tomgross I've found the reason of the fail test. The "filter results" dropdown menu is conflicting with the default Plone 4 dropdown.js behavior and when you click on a checkbox, it hides the dropdown. This is the behaviour of all dropdowns in Plone 4. We cloned the markup in order to be the less intrusive possible that's because it's conflicting.

I would change the markup of the search.pt and put in place our own classes fully controlled by React, however this would take time.

@tisto
Copy link
Member

tisto commented Oct 2, 2016

@sneridagh what would be your estimate for the refactoring?

@sneridagh
Copy link
Member

@tisto should take a couple of hours at most... the only drawback is that we will require to add a complimentary CSS, but we can pull it in with Webpack.

Question is, given the fact that it's only a reference implementation (as it is now) it's worth to keep 1:1 features with Plone 4?

@tisto
Copy link
Member

tisto commented Feb 6, 2018

@tomgross one of our clients needs a Solr integration in Plone 4. Therefore I will look into this. Are you folks also still on Plone 4 or did you upgrade in the meantime?

@tisto tisto closed this Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants