summaryrefslogtreecommitdiff
path: root/features/project/builds.feature
blob: 14c9b6c9a35dd87439a9eb1e26200679d8faf277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Feature: Project Builds
  Background:
    Given I sign in as a user
    And I own a project
    And CI is enabled
    And I have recent build for my project

  Scenario: I browse build summary page
    When I visit recent build summary page
    Then I see summary for build
    And I see build trace

  Scenario: I download build artifacts
    Given recent build has artifacts available
    When I visit recent build summary page
    And I click artifacts download button
    Then download of build artifacts archive starts

  Scenario: I browse build artifacts
    Given recent build has artifacts available
    And recent build has artifacts metadata available
    When I visit recent build summary page
    And I click artifacts browse button
    Then I should see content of artifacts archive

  Scenario: I browse subdirectory of build artifacts
    Given recent build has artifacts available
    And recent build has artifacts metadata available
    When I visit recent build summary page
    And I click artifacts browse button
    And I click link to subdirectory within build artifacts
    Then I should see content of subdirectory within artifacts archive