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
784d7eed
Commit
784d7eed
authored
Dec 12, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new Geo nodes settings pages in Gitlab QA
parent
53e2a2de
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
2 deletions
+47
-2
qa/qa/ee.rb
qa/qa/ee.rb
+7
-1
qa/qa/ee/page/admin/geo/nodes/new.rb
qa/qa/ee/page/admin/geo/nodes/new.rb
+21
-0
qa/qa/ee/page/admin/geo/nodes/show.rb
qa/qa/ee/page/admin/geo/nodes/show.rb
+17
-0
qa/qa/ee/scenario/geo/node.rb
qa/qa/ee/scenario/geo/node.rb
+2
-1
No files found.
qa/qa/ee.rb
View file @
784d7eed
...
...
@@ -6,7 +6,13 @@ module QA
module
Page
module
Admin
autoload
:License
,
'qa/ee/page/admin/license'
autoload
:GeoNodes
,
'qa/ee/page/admin/geo_nodes'
module
Geo
module
Nodes
autoload
:Show
,
'qa/ee/page/admin/geo/nodes/show'
autoload
:New
,
'qa/ee/page/admin/geo/nodes/new'
end
end
end
end
...
...
qa/qa/ee/page/admin/geo/nodes/new.rb
0 → 100644
View file @
784d7eed
module
QA
module
EE
module
Page
module
Admin
module
Geo
module
Nodes
class
New
<
QA
::
Page
::
Base
def
set_node_address
(
address
)
fill_in
'URL'
,
with:
address
end
def
add_node!
click_button
'Add Node'
end
end
end
end
end
end
end
end
qa/qa/ee/page/admin/geo
_nodes
.rb
→
qa/qa/ee/page/admin/geo
/nodes/show
.rb
View file @
784d7eed
...
...
@@ -2,13 +2,13 @@ module QA
module
EE
module
Page
module
Admin
class
GeoNodes
<
QA
::
Page
::
Base
def
set_node_address
(
address
)
fill_in
'URL'
,
with:
address
end
def
add_node!
click_button
'Add Node'
module
Geo
module
Nodes
class
Show
<
QA
::
Page
::
Base
def
new_node!
click_link
'New node'
end
end
end
end
end
...
...
qa/qa/ee/scenario/geo/node.rb
View file @
784d7eed
...
...
@@ -10,8 +10,9 @@ module QA
QA
::
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
QA
::
Page
::
Main
::
Menu
.
act
{
go_to_admin_area
}
QA
::
Page
::
Admin
::
Menu
.
act
{
go_to_geo_nodes
}
EE
::
Page
::
Admin
::
Geo
::
Nodes
::
Show
.
act
{
new_node!
}
EE
::
Page
::
Admin
::
Geo
Nodes
.
perform
do
|
page
|
EE
::
Page
::
Admin
::
Geo
::
Nodes
::
New
.
perform
do
|
page
|
raise
ArgumentError
if
@address
.
nil?
page
.
set_node_address
(
@address
)
...
...
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