Commit 32314432 authored by Walmyr Lima's avatar Walmyr Lima

Update a test to avoid flakiness

This test has shown failures when running on CI, because automatic
comments sometimes do not show up, but with the two other expecta-
tions, we can still test that the functionality of assigning mul-
tiple users to an issue works.

So, better having one less expectation, but having reliable test
results, than having an extra expectation that leads to a flaky
test and false negatives.
parent b3cd6fd5
...@@ -31,7 +31,6 @@ module QA ...@@ -31,7 +31,6 @@ module QA
show.select_all_activities_filter show.select_all_activities_filter
expect(show).to have_content "assigned to @#{@user_2.username}"
expect(show.avatar_image_count).to be 2 expect(show.avatar_image_count).to be 2
expect(show.assignee_title).to have_content '2 Assignees' expect(show.assignee_title).to have_content '2 Assignees'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment