openfoodfoundation / openfoodnetwork

Connect suppliers, distributors and consumers to trade local produce.
https://www.openfoodnetwork.org
GNU Affero General Public License v3.0
1.11k stars 718 forks source link

[Flaky] spec/features/admin/tag_rules_spec.rb:16 #7667

Closed mkllnk closed 2 years ago

mkllnk commented 3 years ago

What we should change and why (this is tech debt)

Failures:

  1) Tag Rules creating allows creation of rules of each type
     Failure/Error: expect(page).to have_selector ".tag-list .tag-item span", text: tag_name
       expected to find css ".tag-list .tag-item span" within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[1]/DIV[1]/DIV[3]/DIV[1]/DIV[1]/DIV[1]/FORM[1]/DIV[1]/DIV[1]/DIV[3]/FIELDSET[15]/DIV[1]/DIV[1]/OFN-SORTABLE[1]/DIV[3]/DIV[6]/DIV[1]"> but there were no matches
     # ./spec/support/request/web_helper.rb:147:in `fill_in_tag'
     # ./spec/features/admin/tag_rules_spec.rb:56:in `block (4 levels) in <top (required)>'
     # ./spec/features/admin/tag_rules_spec.rb:55:in `block (3 levels) in <top (required)>'

Context

This failed before: #4490.

Now observed again:

Impact and timeline

jibees commented 2 years ago

Seems this one is no more flaky, I didn't see it for long time. Closing for now. Could be re-open if needed for sure.