rewrite project commits features using spinach
This commit is contained in:
parent
7aeb92b8e4
commit
080bd12e16
24 changed files with 178 additions and 20 deletions
23
features/project/source/browse_files.feature
Normal file
23
features/project/source/browse_files.feature
Normal file
|
@ -0,0 +1,23 @@
|
|||
Feature: Browse git repo
|
||||
Background:
|
||||
Given I signin as a user
|
||||
And I own project "Shop"
|
||||
Given I visit project source page
|
||||
|
||||
Scenario: I browse files from master branch
|
||||
Then I should see files from repository
|
||||
|
||||
Scenario: I browse files for specific ref
|
||||
Given I visit project source page for "8470d70"
|
||||
Then I should see files from repository for "8470d70"
|
||||
|
||||
Scenario: I browse file content
|
||||
Given I click on file from repo
|
||||
Then I should see it content
|
||||
|
||||
Scenario: I browse raw file
|
||||
Given I visit blob file from repo
|
||||
And I click on raw button
|
||||
Then I should see raw file content
|
||||
|
||||
|
10
features/project/source/git_blame.feature
Normal file
10
features/project/source/git_blame.feature
Normal file
|
@ -0,0 +1,10 @@
|
|||
Feature: Browse git repo
|
||||
Background:
|
||||
Given I signin as a user
|
||||
And I own project "Shop"
|
||||
Given I visit project source page
|
||||
|
||||
Scenario: I blame file
|
||||
Given I click on file from repo
|
||||
And I click blame button
|
||||
Then I should see git file blame
|
Loading…
Add table
Add a link
Reference in a new issue