Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a7fe71aa
Commit
a7fe71aa
authored
Sep 06, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update page objects with new elements and methods
parent
87400570
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
qa/qa/ee/page/project/issue/index.rb
qa/qa/ee/page/project/issue/index.rb
+8
-0
qa/qa/ee/page/project/issue/show.rb
qa/qa/ee/page/project/issue/show.rb
+8
-0
qa/qa/page/project/issue/show.rb
qa/qa/page/project/issue/show.rb
+5
-0
No files found.
qa/qa/ee/page/project/issue/index.rb
View file @
a7fe71aa
...
...
@@ -12,9 +12,17 @@ module QA
element
:issue_filter_form
,
/form_tag.+class: 'filter-form /
# rubocop:disable QA/ElementWithPattern
element
:issue_filter_input
,
/%input.form-control.filtered-search/
# rubocop:disable QA/ElementWithPattern
end
view
'ee/app/views/projects/issues/_issue_weight.html.haml'
do
element
:issuable_weight
end
end
end
def
issuable_weight
find_element
(
:issuable_weight
)
end
def
wait_for_issue_replication
(
issue
)
wait
do
filter_by_title
(
issue
.
title
)
...
...
qa/qa/ee/page/project/issue/show.rb
View file @
a7fe71aa
...
...
@@ -11,6 +11,10 @@ module QA
view
'ee/app/assets/javascripts/related_issues/components/related_issues_block.vue'
do
element
:related_issues_loading_icon
end
view
'ee/app/assets/javascripts/sidebar/components/weight/weight.vue'
do
element
:weight_label_value
end
end
end
...
...
@@ -19,6 +23,10 @@ module QA
has_no_element?
(
:related_issues_loading_icon
)
end
end
def
weight_label_value
find_element
(
:weight_label_value
)
end
end
end
end
...
...
qa/qa/page/project/issue/show.rb
View file @
a7fe71aa
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment