commits.feature 1.6 KB
Newer Older
C
Ciro Santilli 已提交
1
Feature: Project Commits
2 3
  Background:
    Given I sign in as a user
R
Robert Speicher 已提交
4 5
    And I own a project
    And I visit my project's commits page
D
Dmitriy Zaporozhets 已提交
6 7 8 9 10 11 12 13 14 15 16

  Scenario: I browse commits list for master branch
    Then I see project commits

  Scenario: I browse atom feed of commits list for master branch
    Given I click atom feed link
    Then I see commits atom feed

  Scenario: I browse commit from list
    Given I click on commit link
    Then I see commit info
17
    And I see side-by-side diff button
18

19 20 21 22 23
  Scenario: I browse commit with ci from list
    Given commit has ci status
    And I click on commit link
    Then I see commit ci info

24
  Scenario: I browse commit with side-by-side diff view
25
    Given I click on commit link
26 27
    And I click side-by-side diff button
    Then I see inline diff button
D
Dmitriy Zaporozhets 已提交
28

29
  @javascript
D
Dmitriy Zaporozhets 已提交
30 31 32
  Scenario: I compare refs
    Given I visit compare refs page
    And I fill compare fields with refs
R
Robert Speicher 已提交
33
    Then I see compared refs
34 35
    And I unfold diff
    Then I should see additional file lines
36 37 38 39

  Scenario: I browse commits for a specific path
    Given I visit my project's commits page for a specific path
    Then I see breadcrumb links
R
randx 已提交
40

D
Dmitriy Zaporozhets 已提交
41 42 43 44
  # TODO: Implement feature in graphs
  #Scenario: I browse commits stats
    #Given I visit my project's commits stats page
    #Then I see commits stats
B
Boyan Tabakov 已提交
45 46 47 48

  Scenario: I browse big commit
    Given I visit big commit page
    Then I see big commit warning
49
    And I see "Reload with full diff" link
B
Boyan Tabakov 已提交
50

51 52 53
  Scenario: I browse a commit with an image
    Given I visit a commit with an image that changed
    Then The diff links to both the previous and current image