Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added scenario and step for linking to the features source file if th…
…e path is available
- Loading branch information
Showing
2 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
Feature: Viewing an item | ||
In order to keep the item views consistent | ||
As a user | ||
I want to see a consistent layout | ||
In order to keep the item views consistent | ||
As a user | ||
I want to see a consistent layout | ||
|
||
Scenario: Viewing a project should display a list of features | ||
Given the project has features | ||
And one of the projects features has a path | ||
When I am on "project show" page | ||
Then a feature with a path should display it | ||
Scenario: Viewing a project should display a list of features | ||
Given the project has features | ||
And one of the projects features has a path | ||
When I am on "project show" page | ||
Then a feature with a path should display it | ||
|
||
Scenario: The features path should be clickable | ||
Given the project has features | ||
And one of the projects features has a path | ||
When I am on "project show" page | ||
Then the path location should be a link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters