Make Spinach test names consistent
- do not add Feature to feature titles - titleize feature titles - put steps on the same path as .feature files - make feature titles match their path
This commit is contained in:
parent
ac71c386f9
commit
fa34901237
60 changed files with 56 additions and 56 deletions
|
@ -1,5 +1,5 @@
|
|||
@dashboard
|
||||
Feature: Dashboard active tab
|
||||
Feature: Dashboard Active Tab
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@dashboard
|
||||
Feature: Dashboard with archived projects
|
||||
Feature: Dashboard Archived Projects
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@dashboard
|
||||
Feature: Event filters
|
||||
Feature: Event Filters
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own a project
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@dashboard
|
||||
Feature: Help
|
||||
Feature: Dashboard Help
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I visit the "Rake Tasks" help page
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@dashboard
|
||||
Feature: Dashboard projects
|
||||
Feature: Dashboard Projects
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@dashboard
|
||||
Feature: Dashboard shortcuts
|
||||
Feature: Dashboard Shortcuts
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I visit dashboard page
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@public
|
||||
Feature: Explore Groups Feature
|
||||
Feature: Explore Groups
|
||||
Background:
|
||||
Given group "TestGroup" has private project "Enterprise"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
@public
|
||||
Feature: Explore Projects Feature
|
||||
Feature: Explore Projects
|
||||
Background:
|
||||
Given public project "Community"
|
||||
And internal project "Internal"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@profile
|
||||
Feature: Profile active tab
|
||||
Feature: Profile Active Tab
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project active tab
|
||||
Feature: Project Active Tab
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own a project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Browse branches
|
||||
Feature: Project Commits Branches
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Comments on commits
|
||||
Feature: Project Commits Comments
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Browse commits
|
||||
Feature: Project Commits
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own a project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Comments on commit diffs
|
||||
Feature: Project Commits Diff Comments
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Browse tags
|
||||
Feature: Project Commits Tags
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Browse Commits User Lookup
|
||||
Feature: Project Commits User Lookup
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own a project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Create Project
|
||||
Feature: Project Create
|
||||
In order to get access to project sections
|
||||
A user with ability to create a project
|
||||
Should be able to create a new one
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Fork Project
|
||||
Feature: Project Fork
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I am a member of project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Filter Labels
|
||||
Feature: Project Issues Filter Labels
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Labels
|
||||
Feature: Project Issues Labels
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Milestones
|
||||
Feature: Project Issues Milestones
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Feature
|
||||
Feature: Project
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@dashboard
|
||||
Feature: Project shortcuts
|
||||
Feature: Project Shortcuts
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own a project
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Browse files
|
||||
Feature: Project Source Browse files
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Browse git repo
|
||||
Feature: Project Source Git Blame
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project markdown render
|
||||
Feature: Project Source Markdown Render
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Delta"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Multiselect Blob
|
||||
Feature: Project Source Multiselect Blob
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Search code
|
||||
Feature: Project Source Search Code
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Feature: Project Team management
|
||||
Feature: Project Team Management
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@snippets
|
||||
Feature: Discover Snippets
|
||||
Feature: Snippets Discover
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I have public "Personal snippet one" snippet
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@snippets
|
||||
Feature: Snippets Feature
|
||||
Feature: Snippets
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I have public "Personal snippet one" snippet
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@snippets
|
||||
Feature: User Snippets
|
||||
Feature: Snippets User
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I have public "Personal snippet one" snippet
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::DashboardWithArchivedProjects < Spinach::FeatureSteps
|
||||
class Spinach::Features::DashboardArchivedProjects < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedProject
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::Help < Spinach::FeatureSteps
|
||||
class Spinach::Features::DashboardHelp < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedMarkdown
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ExploreGroupsFeature < Spinach::FeatureSteps
|
||||
class Spinach::Features::ExploreGroups < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedGroup
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ExploreProjectsFeature < Spinach::FeatureSteps
|
||||
class Spinach::Features::ExploreProjects < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedProject
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectBrowseBranches < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::CommentsOnCommits < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectCommitsComments < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedNote
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectBrowseCommits < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::CommentsOnCommitDiffs < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectCommitsDiffComments < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedDiffNote
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectBrowseTags < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectCommitsTags < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectBrowseCommitsUserLookup < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectCommitsUserLookup < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::CreateProject < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectCreate < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ForkProject < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectFork < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedProject
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectFilterLabels < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectIssuesFilterLabels < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectLabels < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectMilestones < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectIssuesMilestones < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectFeature < Spinach::FeatureSteps
|
||||
class Spinach::Features::Project < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectBrowseFiles < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectBrowseGitRepo < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectSourceGitBlame < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,7 +1,7 @@
|
|||
# If you need to modify the existing seed repository for your tests,
|
||||
# it is recommended that you make the changes on the `markdown` branch of the seed project repository,
|
||||
# which should only be used by tests in this file. See `/spec/factories.rb#project` for more info.
|
||||
class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedMarkdown
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectMultiselectBlob < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectSourceMultiselectBlob < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::ProjectSearchCode < Spinach::FeatureSteps
|
||||
class Spinach::Features::ProjectSourceSearchCode < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
include SharedPaths
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::DiscoverSnippets < Spinach::FeatureSteps
|
||||
class Spinach::Features::SnippetsDiscover < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedSnippet
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::SnippetsFeature < Spinach::FeatureSteps
|
||||
class Spinach::Features::Snippets < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedProject
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Spinach::Features::UserSnippets < Spinach::FeatureSteps
|
||||
class Spinach::Features::SnippetsUser < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedPaths
|
||||
include SharedSnippet
|
||||
|
|
Loading…
Reference in a new issue