BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
791c5bff
Commit
791c5bff
authored
Dec 22, 2015
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some spinach
parent
bc9467cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
award_emoji.feature
features/project/issues/award_emoji.feature
+5
-0
award_emoji.rb
features/steps/project/issues/award_emoji.rb
+7
-0
No files found.
features/project/issues/award_emoji.feature
View file @
791c5bff
...
...
@@ -14,6 +14,11 @@ Feature: Award Emoji
And
I can remove it by clicking to icon
@javascript
Scenario
:
I
can see the list of emoji categories
Given
I click to emoji-picker
Then
I can see the activity and food categories
@javascript
Scenario
:
I
add award emoji using regular comment
Given
I leave comment with a single emoji
Then
I have award added
features/steps/project/issues/award_emoji.rb
View file @
791c5bff
...
...
@@ -27,6 +27,13 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
end
end
step
'I can see the activity and food categories'
do
page
.
within
'.emoji-menu'
do
expect
(
page
).
to_not
have_selector
'Activity'
expect
(
page
).
to_not
have_selector
'Food'
end
end
step
'I have award added'
do
page
.
within
'.awards'
do
expect
(
page
).
to
have_selector
'.award'
...
...
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