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
Tatuya Kamada
gitlab-ce
Commits
bfe905b3
Commit
bfe905b3
authored
Dec 22, 2015
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some spinach
parent
0ae08812
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
features/project/issues/award_emoji.feature
features/project/issues/award_emoji.feature
+5
-0
features/steps/project/issues/award_emoji.rb
features/steps/project/issues/award_emoji.rb
+7
-0
No files found.
features/project/issues/award_emoji.feature
View file @
bfe905b3
...
@@ -13,6 +13,11 @@ Feature: Award Emoji
...
@@ -13,6 +13,11 @@ Feature: Award Emoji
Then
I have award added
Then
I have award added
And
I can remove it by clicking to icon
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
@javascript
Scenario
:
I
add award emoji using regular comment
Scenario
:
I
add award emoji using regular comment
Given
I leave comment with a single emoji
Given
I leave comment with a single emoji
...
...
features/steps/project/issues/award_emoji.rb
View file @
bfe905b3
...
@@ -27,6 +27,13 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
...
@@ -27,6 +27,13 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
end
end
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
step
'I have award added'
do
page
.
within
'.awards'
do
page
.
within
'.awards'
do
expect
(
page
).
to
have_selector
'.award'
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