commits.feature 1.3 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
  Scenario: I browse commit with side-by-side diff view
20
    Given I click on commit link
21 22
    And I click side-by-side diff button
    Then I see inline diff button
D
Dmitriy Zaporozhets 已提交
23 24 25 26

  Scenario: I compare refs
    Given I visit compare refs page
    And I fill compare fields with refs
R
Robert Speicher 已提交
27
    Then I see compared refs
28 29 30 31

  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 已提交
32

D
Dmitriy Zaporozhets 已提交
33 34 35 36
  # 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 已提交
37 38 39 40 41

  Scenario: I browse big commit
    Given I visit big commit page
    Then I see big commit warning

42 43 44
  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