Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build.feature « badges « project « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9417f62d68002f1eecbe2595a016b7118979d2a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Feature: Project Badges Build
  Background:
    Given I sign in as a user
    And I own a project
    And project has CI enabled
    And project has a recent build

  Scenario: I want to see a badge for successfully built project
    Given recent build is successful
    When I display builds badge for a master branch
    Then I should see a build success badge

  Scenario: I want to see a badge for project with failed builds
    Given recent build failed
    When I display builds badge for a master branch
    Then I should see a build failed badge

  Scenario: I want to see a badge for project with running builds
    Given recent build is successful
    And project has another build that is running
    When I display builds badge for a master branch
    Then I should see a build running badge