Commit dc62e8d7 authored by Walmyr's avatar Walmyr

Merge branch 'zm-scoped-labels-assertion-qa' into 'master'

Fix assertion on scoped label edits

Closes gitlab-org/quality/nightly#114

See merge request gitlab-org/gitlab-ee!14635
parents a95b5186 e6426e39
......@@ -29,7 +29,7 @@ module QA
issue_page.select_labels_and_refresh [@new_label_same_scope, @new_label_different_scope]
expect(page).to have_content("added #{@initial_label}")
expect(page).to have_content("added #{@new_label_same_scope} #{@new_label_different_scope} labels and removed #{@initial_label}")
expect(page).to have_content("added #{@new_label_same_scope} #{@new_label_different_scope} scoped labels and automatically removed #{@initial_label}")
expect(issue_page.text_of_labels_block).to have_content(@new_label_same_scope)
expect(issue_page.text_of_labels_block).to have_content(@new_label_different_scope)
expect(issue_page.text_of_labels_block).not_to have_content(@initial_label)
......
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