788bcb7736
Honestly seems like it's being in some weird loop for discourse/hashtag_autocomplete_spec.rb for this: ```ruby within topic_page.post_by_number(2) do cooked_hashtags = page.all(".hashtag-cooked", count: 2) expect(cooked_hashtags[0]["outerHTML"]).to eq(<<~HTML.chomp) <a class=\"hashtag-cooked\" href=\"#{category.url}\" data-type=\"category\" data-slug=\"cool-cat\"><svg class=\"fa d-icon d-icon-folder svg-icon svg-node\"><use href=\"#folder\"></use></svg><span>Cool Category</span></a> HTML expect(cooked_hashtags[1]["outerHTML"]).to eq(<<~HTML.chomp) <a class=\"hashtag-cooked\" href=\"#{tag.url}\" data-type=\"tag\" data-slug=\"cooltag\"><svg class=\"fa d-icon d-icon-tag svg-icon svg-node\"><use href=\"#tag\"></use></svg><span>cooltag</span></a> HTML end ``` I see this many times in the full logs with `SELENIUM_VERBOSE_DRIVER_LOGS=1`: ``` COMMAND FindElements { "using": "css selector", "value": "#post_2" } Followed by: COMMAND FindChildElements { "id": "26dfe542-659b-46cc-ac8c-a6c2d9cbdf0a", "using": "css selector", "value": ".hashtag-cooked" } ``` Over and over and over, there are 58 such occurrences. I am beginning to think `within` is just poison that should be avoided. |
||
---|---|---|
.. | ||
page_objects | ||
user_page | ||
admin_customize_themes_spec.rb | ||
bookmarks_spec.rb | ||
hashtag_autocomplete_spec.rb | ||
search_spec.rb | ||
user_preferences_interface_spec.rb | ||
user_preferences_navigation_spec.rb |