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
10e49b6c
Commit
10e49b6c
authored
Sep 13, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update page object with new elements and methods
parent
859e1050
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
qa/qa/ee/page/project/issue/show.rb
qa/qa/ee/page/project/issue/show.rb
+18
-0
No files found.
qa/qa/ee/page/project/issue/show.rb
View file @
10e49b6c
...
...
@@ -14,10 +14,24 @@ module QA
view
'ee/app/assets/javascripts/sidebar/components/weight/weight.vue'
do
element
:weight_label_value
element
:edit_weight_link
element
:remove_weight_link
element
:weight_input_field
element
:weight_no_value_content
end
end
end
def
click_remove_weight_link
click_element
(
:remove_weight_link
)
end
def
set_weight
(
weight
)
click_element
(
:edit_weight_link
)
fill_element
(
:weight_input_field
,
weight
)
send_keys_to_element
(
:weight_input_field
,
:enter
)
end
def
wait_for_related_issues_to_load
wait
(
reload:
false
)
do
has_no_element?
(
:related_issues_loading_icon
)
...
...
@@ -27,6 +41,10 @@ module QA
def
weight_label_value
find_element
(
:weight_label_value
)
end
def
weight_no_value_content
find_element
(
:weight_no_value_content
)
end
end
end
end
...
...
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