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
c43a6bb3
Commit
c43a6bb3
authored
Sep 03, 2018
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[QA] Move Page::Shared::ClonePanel to Page::Component::ClonePanel
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
48541cac
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
qa/qa.rb
qa/qa.rb
+3
-4
qa/qa/page/component/clone_panel.rb
qa/qa/page/component/clone_panel.rb
+3
-1
qa/qa/page/project/issue/show.rb
qa/qa/page/project/issue/show.rb
+2
-0
qa/qa/page/project/show.rb
qa/qa/page/project/show.rb
+1
-1
qa/qa/page/project/wiki/show.rb
qa/qa/page/project/wiki/show.rb
+3
-1
No files found.
qa/qa.rb
View file @
c43a6bb3
# frozen_string_literal: true
$:
<<
File
.
expand_path
(
File
.
dirname
(
__FILE__
))
Encoding
.
default_external
=
'UTF-8'
...
...
@@ -212,10 +214,6 @@ module QA
end
end
module
Shared
autoload
:ClonePanel
,
'qa/page/shared/clone_panel'
end
module
Profile
autoload
:PersonalAccessTokens
,
'qa/page/profile/personal_access_tokens'
end
...
...
@@ -249,6 +247,7 @@ module QA
# Classes describing components that are used by several pages.
#
module
Component
autoload
:ClonePanel
,
'qa/page/component/clone_panel'
autoload
:Dropzone
,
'qa/page/component/dropzone'
autoload
:Select2
,
'qa/page/component/select2'
end
...
...
qa/qa/page/
shared
/clone_panel.rb
→
qa/qa/page/
component
/clone_panel.rb
View file @
c43a6bb3
# frozen_string_literal: true
module
QA
module
Page
module
Shared
module
Component
module
ClonePanel
def
self
.
included
(
base
)
base
.
view
'app/views/shared/_clone_panel.html.haml'
do
...
...
qa/qa/page/project/issue/show.rb
View file @
c43a6bb3
# frozen_string_literal: true
module
QA
module
Page
module
Project
...
...
qa/qa/page/project/show.rb
View file @
c43a6bb3
...
...
@@ -2,7 +2,7 @@ module QA
module
Page
module
Project
class
Show
<
Page
::
Base
include
Page
::
Shared
::
ClonePanel
include
Page
::
Component
::
ClonePanel
view
'app/views/projects/_last_push.html.haml'
do
element
:create_merge_request
...
...
qa/qa/page/project/wiki/show.rb
View file @
c43a6bb3
# frozen_string_literal: true
module
QA
module
Page
module
Project
module
Wiki
class
Show
<
Page
::
Base
include
Page
::
Shared
::
ClonePanel
include
Page
::
Component
::
ClonePanel
view
'app/views/projects/wikis/pages.html.haml'
do
element
:clone_repository_link
,
'Clone repository'
...
...
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