Closed corylown closed 4 months ago
This test marked as pending seems to have same issue (but I'm not sure if that's the reason it was marked pending): https://github.com/sul-dlss/exhibits/blob/f8ba2a2deafba0f30f92f89187fb5f76ba547c2f/spec/features/viewers_spec.rb#L93
I don't get this behavior in beta7, do we need to resolve the beta1 issue?
They do fail in beta7 which made me question fill_in_typeahead_field
https://github.com/sul-dlss/exhibits/blob/49231ebf8adbeeb8244d32b91f6c18215beb92e4/spec/support/javascript_feature_helpers.rb#L5-L17
Any idea why both clicks? I dropped $(".tt-suggestion").click();
and things started passing. This is making me question the flappy guards we added to Spotlight. I think most of those were to fix fill_in_solr_document_block_typeahead_field
steps, which uses fill_in_typeahead_field
.
This seemed to fix it, somehow: https://github.com/sul-dlss/exhibits/pull/2484
The path helper seems to behave properly:
But the action is
undefined
when instructing capybara to visit that route: