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
1669ee8b
Commit
1669ee8b
authored
Jun 19, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add web_url method on epic index page
parent
95a4159c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
qa/qa/ee/page/group/epic/index.rb
qa/qa/ee/page/group/epic/index.rb
+7
-0
No files found.
qa/qa/ee/page/group/epic/index.rb
View file @
1669ee8b
...
...
@@ -32,6 +32,13 @@ module QA
all_elements
(
:epic_title_text
).
first
.
click
page
.
validate_elements_present!
if
page
end
# This is a workaround to get the URL of the first epic
# since this attribute is not exposed by the API.
# See https://gitlab.com/gitlab-org/gitlab-ee/issues/11241.
def
web_url
page
.
all
(
'.qa-epic-title-text a'
).
first
[
:href
]
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