2012-09-10 07:27:11 -04:00
|
|
|
Feature: Project Browse commits
|
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
2012-09-26 13:58:50 -04:00
|
|
|
And I own a project
|
|
|
|
And I visit my project's commits page
|
2012-06-15 00:15:28 -04:00
|
|
|
|
|
|
|
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
|
2013-10-09 16:22:37 -04:00
|
|
|
And I see parallel diff button
|
|
|
|
|
|
|
|
Scenario: I browse commit with parallel diff view
|
|
|
|
Given I click on commit link
|
|
|
|
And I click parallel diff button
|
|
|
|
Then I see unified diff button
|
2012-06-15 00:15:28 -04:00
|
|
|
|
|
|
|
Scenario: I compare refs
|
|
|
|
Given I visit compare refs page
|
|
|
|
And I fill compare fields with refs
|
2012-09-26 13:58:50 -04:00
|
|
|
Then I see compared refs
|
2012-11-01 17:57:44 -04:00
|
|
|
|
|
|
|
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
|
2012-11-10 16:33:10 -05:00
|
|
|
|
|
|
|
Scenario: I browse commits stats
|
|
|
|
Given I visit my project's commits stats page
|
|
|
|
Then I see commits stats
|
2013-09-04 03:33:09 -04:00
|
|
|
|
|
|
|
Scenario: I browse big commit
|
|
|
|
Given I visit big commit page
|
|
|
|
Then I see big commit warning
|
|
|
|
|
|
|
|
Scenario: I browse huge commit
|
|
|
|
Given I visit huge commit page
|
|
|
|
Then I see huge commit message
|
2013-09-10 21:36:04 -04:00
|
|
|
|
|
|
|
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
|