Commit 050a97e0 authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch 'simplify-test-to-avoid-flakiness' into 'master'

Simplify test to avoid flakiness

Closes #37369

See merge request gitlab-org/gitlab!20931
parents 15c251bc 5f3e32a2
......@@ -37,14 +37,12 @@ module QA
show.relate_issue(issue_2)
show.wait(reload: false, max: max_wait, interval: wait_interval) do
expect(show).to have_content("marked this issue as related to ##{issue_2.iid}")
expect(show.related_issuable_item).to have_content(issue_2.title)
end
show.click_remove_related_issue_button
show.wait(reload: false, max: max_wait, interval: wait_interval) do
expect(show).to have_content("removed the relation with ##{issue_2.iid}")
expect(show).not_to have_content(issue_2.title)
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