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
Léo-Paul Géneau
gitlab-ce
Commits
d0a4ab21
Commit
d0a4ab21
authored
Jan 12, 2018
by
Filipe Freire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improvements after CR
parent
669c34db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
qa/qa/page/project/activity.rb
qa/qa/page/project/activity.rb
+7
-3
qa/qa/specs/features/project/activity_spec.rb
qa/qa/specs/features/project/activity_spec.rb
+1
-6
No files found.
qa/qa/page/
activity
/activity.rb
→
qa/qa/page/
project
/activity.rb
View file @
d0a4ab21
module
QA
module
Page
module
Activity
module
Project
class
Activity
<
Page
::
Base
view
'app/views/
projects/activity
.html.haml'
do
view
'app/views/
shared/_event_filter
.html.haml'
do
element
:push_events_button
,
'Push events'
end
def
go_to_push_events
click_button
:push_events_button
click_link
:push_events_button
end
def
self
.
path
'/activity'
end
end
end
...
...
qa/qa/specs/features/
activity
/activity_spec.rb
→
qa/qa/specs/features/
project
/activity_spec.rb
View file @
d0a4ab21
...
...
@@ -4,18 +4,13 @@ module QA
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
Factory
::
Resource
::
Project
.
fabricate!
do
|
project
|
project
.
name
=
'awesome-project'
project
.
description
=
'create awesome project test'
end
Factory
::
Repository
::
Push
.
fabricate!
do
|
push
|
push
.
file_name
=
'README.md'
push
.
file_content
=
'# This is a test project'
push
.
commit_message
=
'Add README.md'
end
Page
::
Activity
::
Activity
.
act
{
go_to_push_events
}
Page
::
Project
::
Activity
.
act
{
go_to_push_events
}
expect
(
page
).
to
have_content
(
'Add README.md'
)
expect
(
page
).
to
have_content
(
'pushed to branch master'
)
...
...
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