diff options
| author | Porus Patell <ppatell@perforce.com> | 2014-08-15 12:51:43 -0700 |
|---|---|---|
| committer | Porus Patell <ppatell@perforce.com> | 2014-08-25 12:19:41 -0700 |
| commit | 6136dd5a751b22cf88609840a89a40ffbc0b9145 (patch) | |
| tree | 1af2eebedbdf221f4996294f0eeeaa54881864c7 /features/project/issues | |
| parent | 54c20837032cb1bae03f9794cc39884224bf91d3 (diff) | |
| download | gitlab-ce-6136dd5a751b22cf88609840a89a40ffbc0b9145.tar.gz | |
Adding Spinach tests for 'search issues by description field' feature
Diffstat (limited to 'features/project/issues')
| -rw-r--r-- | features/project/issues/issues.feature | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/features/project/issues/issues.feature b/features/project/issues/issues.feature index b2e6f1f9324..85c6ab4bc2a 100644 --- a/features/project/issues/issues.feature +++ b/features/project/issues/issues.feature @@ -63,6 +63,36 @@ Feature: Project Issues Then I should see "Release 0.3" in issues And I should not see "Release 0.4" in issues + @javascript + Scenario: Test to search project issues when the entered search string exactly matches an existing issue description + Given project "Shop" has issue "Bugfix1" with description: "Description for issue1" + And I fill in issue search with "Description for issue1" + Then I should see "Bugfix1" in issues + And I should not see "Release 0.4" in issues + And I should not see "Release 0.3" in issues + And I should not see "Tweet control" in issues + + @javascript + Scenario: Test to search project issues when the entered search string partially matches an existing issue description + Given project "Shop" has issue "Bugfix1" with description: "Description for issue1" + And project "Shop" has issue "Feature1" with description: "Feature submitted for issue1" + And I fill in issue search with "issue1" + Then I should see "Feature1" in issues + Then I should see "Bugfix1" in issues + And I should not see "Release 0.4" in issues + And I should not see "Release 0.3" in issues + And I should not see "Tweet control" in issues + + @javascript + Scenario: Test to search project when the entered search string matches no existing issue description + Given project "Shop" has issue "Bugfix1" with description: "Description for issue1" + And I fill in issue search with "Rock and roll" + Then I should not see "Bugfix1" in issues + And I should not see "Release 0.4" in issues + And I should not see "Release 0.3" in issues + And I should not see "Tweet control" in issues + + # Markdown Scenario: Headers inside the description should have ids generated for them. |
