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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
01796734
Commit
01796734
authored
Jun 20, 2018
by
Rémy Coutable
Committed by
Grzegorz Bizon
Jul 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[QA] Add a new Page::Issuable::Show page
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
b62825fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
qa/qa.rb
qa/qa.rb
+4
-0
qa/qa/page/issuable/show.rb
qa/qa/page/issuable/show.rb
+18
-0
No files found.
qa/qa.rb
View file @
01796734
...
...
@@ -184,6 +184,10 @@ module QA
autoload
:PersonalAccessTokens
,
'qa/page/profile/personal_access_tokens'
end
module
Issuable
autoload
:Show
,
'qa/page/issuable/show'
end
module
MergeRequest
autoload
:New
,
'qa/page/merge_request/new'
autoload
:Show
,
'qa/page/merge_request/show'
...
...
qa/qa/page/issuable/show.rb
0 → 100644
View file @
01796734
module
QA
module
Page
module
Issuable
class
Show
<
Page
::
Base
view
'app/views/shared/issuable/_sidebar.html.haml'
do
element
:labels_block
,
".issuable-show-labels"
end
def
has_label?
(
label
)
page
.
within
(
'.issuable-show-labels'
)
do
element
=
find
(
'span'
,
text:
label
,
wait:
1
)
!
element
.
nil?
end
end
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