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
bdefb879
Commit
bdefb879
authored
Jan 10, 2018
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move go_to_settings to Menu and change order in Push factory fabrication
parent
8dd25bc5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
qa/qa/page/menu/side.rb
qa/qa/page/menu/side.rb
+6
-0
qa/qa/page/project/show.rb
qa/qa/page/project/show.rb
+0
-6
qa/qa/specs/features/ee/geo/rename_replication_spec.rb
qa/qa/specs/features/ee/geo/rename_replication_spec.rb
+2
-4
No files found.
qa/qa/page/menu/side.rb
View file @
bdefb879
...
...
@@ -14,6 +14,12 @@ module QA
end
end
def
go_to_settings
page
.
within
(
'.sidebar-top-level-items'
)
do
click_on
'Settings'
end
end
private
def
hover_setting
...
...
qa/qa/page/project/show.rb
View file @
bdefb879
...
...
@@ -34,12 +34,6 @@ module QA
def
wait_for_push
sleep
5
end
def
go_to_settings
page
.
within
(
'.sidebar-top-level-items'
)
do
click_on
'Settings'
end
end
end
end
end
...
...
qa/qa/specs/features/ee/geo/rename_replication_spec.rb
View file @
bdefb879
...
...
@@ -14,10 +14,10 @@ module QA
expect
(
geo_project_name
).
to
include
'geo-before-rename'
Factory
::
Repository
::
Push
.
fabricate!
do
|
push
|
push
.
project
=
project
push
.
file_name
=
'README.md'
push
.
file_content
=
'# This is Geo project!'
push
.
commit_message
=
'Add README.md'
push
.
project
=
project
end
# check it exists on the other machine
...
...
@@ -53,9 +53,7 @@ module QA
dashboard
.
go_to_project
(
geo_project_name
)
end
Page
::
Project
::
Show
.
perform
do
|
page
|
page
.
go_to_settings
end
Page
::
Menu
::
Side
.
act
{
go_to_settings
}
geo_project_newname
=
"geo-after-rename-
#{
SecureRandom
.
hex
(
8
)
}
"
Page
::
Project
::
Settings
::
Main
.
perform
do
|
page
|
...
...
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