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
a1d9a3c3
Commit
a1d9a3c3
authored
Dec 07, 2018
by
Mark Lapierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Visit project page after pushing
parent
ed75b46c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
qa/qa/specs/features/browser_ui/1_manage/project/view_project_activity_spec.rb
...browser_ui/1_manage/project/view_project_activity_spec.rb
+5
-5
qa/qa/specs/features/browser_ui/3_create/repository/push_over_http_spec.rb
...res/browser_ui/3_create/repository/push_over_http_spec.rb
+2
-2
qa/qa/specs/features/browser_ui/3_create/repository/use_ssh_key_spec.rb
...atures/browser_ui/3_create/repository/use_ssh_key_spec.rb
+2
-1
No files found.
qa/qa/specs/features/browser_ui/1_manage/project/view_project_activity_spec.rb
View file @
a1d9a3c3
...
@@ -5,17 +5,17 @@ module QA
...
@@ -5,17 +5,17 @@ module QA
describe
'Project activity'
do
describe
'Project activity'
do
it
'user creates an event in the activity page upon Git push'
do
it
'user creates an event in the activity page upon Git push'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
project_push
=
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
push
.
file_name
=
'README.md'
push
.
file_name
=
'README.md'
push
.
file_content
=
'# This is a test project'
push
.
file_content
=
'# This is a test project'
push
.
commit_message
=
'Add README.md'
push
.
commit_message
=
'Add README.md'
end
end
project_push
.
project
.
visit!
Page
::
Project
::
Menu
.
act
{
go_to_activity
}
Page
::
Project
::
Menu
.
perform
(
&
:go_to_activity
)
Page
::
Project
::
Activity
.
perform
(
&
:go_to_push_events
)
Page
::
Project
::
Activity
.
act
{
go_to_push_events
}
expect
(
page
).
to
have_content
(
'pushed new branch master'
)
expect
(
page
).
to
have_content
(
'pushed new branch master'
)
end
end
...
...
qa/qa/specs/features/browser_ui/3_create/repository/push_over_http_spec.rb
View file @
a1d9a3c3
...
@@ -7,12 +7,12 @@ module QA
...
@@ -7,12 +7,12 @@ module QA
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
project_push
=
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
push
.
file_name
=
'README.md'
push
.
file_name
=
'README.md'
push
.
file_content
=
'# This is a test project'
push
.
file_content
=
'# This is a test project'
push
.
commit_message
=
'Add README.md'
push
.
commit_message
=
'Add README.md'
end
end
project_push
.
project
.
visit!
Page
::
Project
::
Show
.
act
{
wait_for_push
}
Page
::
Project
::
Show
.
act
{
wait_for_push
}
expect
(
page
).
to
have_content
(
'README.md'
)
expect
(
page
).
to
have_content
(
'README.md'
)
...
...
qa/qa/specs/features/browser_ui/3_create/repository/use_ssh_key_spec.rb
View file @
a1d9a3c3
...
@@ -16,13 +16,14 @@ module QA
...
@@ -16,13 +16,14 @@ module QA
resource
.
title
=
key_title
resource
.
title
=
key_title
end
end
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
project_push
=
Resource
::
Repository
::
ProjectPush
.
fabricate!
do
|
push
|
push
.
ssh_key
=
key
push
.
ssh_key
=
key
push
.
file_name
=
'README.md'
push
.
file_name
=
'README.md'
push
.
file_content
=
'# Test Use SSH Key'
push
.
file_content
=
'# Test Use SSH Key'
push
.
commit_message
=
'Add README.md'
push
.
commit_message
=
'Add README.md'
end
end
project_push
.
project
.
visit!
Page
::
Project
::
Show
.
act
{
wait_for_push
}
Page
::
Project
::
Show
.
act
{
wait_for_push
}
expect
(
page
).
to
have_content
(
'README.md'
)
expect
(
page
).
to
have_content
(
'README.md'
)
...
...
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