summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-08 12:42:35 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-11 10:29:14 +0100
commit29f2600ab6b04d95c7ef4fbfea7c4c9ecf638e97 (patch)
tree4e9b93744fda798dd661e8cdd51f0f97c293da0f /features/project
parentcf0eab504772c05b067ca60f78bc76779342c912 (diff)
downloadgitlab-ce-29f2600ab6b04d95c7ef4fbfea7c4c9ecf638e97.tar.gz
Improve build badge tests, add another test case
Diffstat (limited to 'features/project')
-rw-r--r--features/project/builds/badge.feature8
1 files changed, 6 insertions, 2 deletions
diff --git a/features/project/builds/badge.feature b/features/project/builds/badge.feature
index 4a198488f3d..64263b2f538 100644
--- a/features/project/builds/badge.feature
+++ b/features/project/builds/badge.feature
@@ -8,10 +8,14 @@ Feature: Project Builds Badge
Given recent build is successfull
When I display builds badge for a master branch
Then I should see a build success badge
- And build badge is a svg image
Scenario: I want to see a badge for project with filed builds
Given recent build failed
When I display builds badge for a master branch
Then I should see a build failed badge
- And build badge is a svg image
+
+ Scenario: I want to see a badge for project with running builds
+ Given recent build is successfull
+ And project has an another build that is running
+ When I display builds badge for a master branch
+ Then I should see a build running badge