Commit afb0405b authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'qa-unquarantine-ee-test' into 'master'

De-quarantine end-to-end test for EE feature

Closes gitlab-org/quality/staging#58

See merge request gitlab-org/gitlab-ee!14096
parents aefa1e70 cd185abc
# frozen_string_literal: true
module QA
# https://gitlab.com/gitlab-org/quality/staging/issues/58
context 'Plan', :quarantine do
context 'Plan' do
describe 'promote issue to epic' do
let(:issue_title) { "My Awesome Issue #{SecureRandom.hex(8)}" }
......@@ -24,9 +23,15 @@ module QA
end
Page::Project::Issue::Show.perform do |show|
show.comment('/promote')
expect(show).to have_content("promoted to epic")
# Due to the randomness of tests execution, sometimes a previous test
# may have changed the filter, which makes the below action needed.
# TODO: Make this test completely independent, not requiring the below step.
show.select_all_activities_filter
# We add a space together with the '/promote' string to avoid test flakiness
# due to the tooltip '/promote Promote issue to an epic (may expose
# confidential information)' from being shown, which may cause the click not
# to work properly.
show.comment('/promote ')
end
group.visit!
......
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