summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorWalmyr Lima <walmyr@gitlab.com>2019-09-06 18:07:52 +0200
committerWalmyr Lima <walmyr@gitlab.com>2019-09-06 18:08:04 +0200
commitc63c86fbf1972459b1b378c02dd057c07c5c5c64 (patch)
treef23348f2f9eb7197a4a701a6a086f4137cefecf5 /qa
parent1813fbf910a1c966ecf970599ceba500808d68a4 (diff)
downloadgitlab-ce-c63c86fbf1972459b1b378c02dd057c07c5c5c64.tar.gz
Update page object with new element and method
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/issue/show.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/qa/qa/page/project/issue/show.rb b/qa/qa/page/project/issue/show.rb
index 52929ece9ed..e5e26b1864b 100644
--- a/qa/qa/page/project/issue/show.rb
+++ b/qa/qa/page/project/issue/show.rb
@@ -35,12 +35,17 @@ module QA
element :labels_block
element :edit_link_labels
element :dropdown_menu_labels
+ element :milestone_link
end
view 'app/views/shared/issuable/_close_reopen_button.html.haml' do
element :reopen_issue_button
end
+ def click_milestone_link
+ click_element(:milestone_link)
+ end
+
# Adds a comment to an issue
# attachment option should be an absolute path
def comment(text, attachment: nil, filter: :all_activities)