mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
- 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
16 lines
465 B
Gherkin
16 lines
465 B
Gherkin
Feature: Project Source Search Code
|
|
Background:
|
|
Given I sign in as a user
|
|
|
|
Scenario: Search for term "coffee"
|
|
Given I own project "Shop"
|
|
And I visit project source page
|
|
When I search for term "coffee"
|
|
Then I should see files from repository containing "coffee"
|
|
|
|
Scenario: Search on empty project
|
|
Given I own an empty project
|
|
And I visit my project's home page
|
|
When I search for term "coffee"
|
|
Then I should see empty result
|