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
Jérome Perrin
gitlab-ce
Commits
45d0be83
Commit
45d0be83
authored
Dec 28, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update descriptions and names based on feedback
parent
2078cb4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
qa/qa/specs/features/project/add_deploy_key_spec.rb
qa/qa/specs/features/project/add_deploy_key_spec.rb
+7
-7
No files found.
qa/qa/specs/features/project/add_deploy_key_spec.rb
View file @
45d0be83
module
QA
feature
'
add deploy key
'
,
:core
do
feature
'
deploy keys support
'
,
:core
do
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
...
...
@@ -18,15 +18,15 @@ module QA
given
(
:deploy_key_data
)
{
Runtime
::
User
.
ssh_key
}
scenario
'user adds a deploy key'
do
Page
::
Project
::
Settings
::
DeployKeys
.
perform
do
|
deploy_key
|
deploy_key
.
fill_new_deploy_key_title
(
deploy_key_title
)
deploy_key
.
fill_new_deploy_key_key
(
deploy_key_data
)
Page
::
Project
::
Settings
::
DeployKeys
.
perform
do
|
page
|
page
.
fill_new_deploy_key_title
(
deploy_key_title
)
page
.
fill_new_deploy_key_key
(
deploy_key_data
)
deploy_key
.
add_key
page
.
add_key
end
Page
::
Project
::
Settings
::
DeployKeys
.
perform
do
|
deploy_key
|
expect
(
deploy_key
).
to
have_key_title
(
deploy_key_title
)
Page
::
Project
::
Settings
::
DeployKeys
.
perform
do
|
page
|
expect
(
page
).
to
have_key_title
(
deploy_key_title
)
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