Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
- document list structure recently changed, __item-title is no longer the link but contains the link, so updating the test accordingly
  • Loading branch information
andysellick committed Jul 28, 2023
1 parent 66f0811 commit f49a2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/step_definitions/analytics_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

expect(page).to have_selector('.js-live-search-results-block[data-module="gem-track-click"]')

document_links = page.all(".gem-c-document-list__item-title")
document_links = page.all(".gem-c-document-list__item-title a")
expect(document_links.count).to be_positive

first_link = document_links.first
Expand Down

0 comments on commit f49a2d9

Please sign in to comment.