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
fc7b7d43
Commit
fc7b7d43
authored
Apr 05, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update selector for new Geo admin page layout
parent
7c8fc05c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/spec/features/admin/admin_geo_nodes_spec.rb
ee/spec/features/admin/admin_geo_nodes_spec.rb
+4
-4
No files found.
ee/spec/features/admin/admin_geo_nodes_spec.rb
View file @
fc7b7d43
...
...
@@ -13,7 +13,7 @@ describe 'admin Geo Nodes', :js do
wait_for_requests
expect
(
page
).
to
have_link
(
'New node'
,
href:
new_admin_geo_node_path
)
page
.
within
(
find
(
'.geo-node
s
'
,
match: :first
))
do
page
.
within
(
find
(
'.geo-node
-item
'
,
match: :first
))
do
expect
(
page
).
to
have_content
(
geo_node
.
url
)
end
end
...
...
@@ -33,7 +33,7 @@ describe 'admin Geo Nodes', :js do
expect
(
current_path
).
to
eq
admin_geo_nodes_path
wait_for_requests
page
.
within
(
find
(
'.geo-node
s
'
,
match: :first
))
do
page
.
within
(
find
(
'.geo-node
-item
'
,
match: :first
))
do
expect
(
page
).
to
have_content
(
geo_node
.
url
)
end
end
...
...
@@ -68,7 +68,7 @@ describe 'admin Geo Nodes', :js do
expect
(
current_path
).
to
eq
admin_geo_nodes_path
wait_for_requests
page
.
within
(
find
(
'.geo-node
s
'
,
match: :first
))
do
page
.
within
(
find
(
'.geo-node
-item
'
,
match: :first
))
do
expect
(
page
).
to
have_content
(
'http://newsite.com'
)
expect
(
page
).
to
have_content
(
'Primary'
)
end
...
...
@@ -91,7 +91,7 @@ describe 'admin Geo Nodes', :js do
expect
(
current_path
).
to
eq
admin_geo_nodes_path
wait_for_requests
expect
(
page
).
not_to
have_css
(
'.geo-node
s
'
)
expect
(
page
).
not_to
have_css
(
'.geo-node
-item
'
)
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