summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2016-04-13 22:39:28 +0000
committerJacob Schatz <jschatz1@gmail.com>2016-04-13 22:39:28 +0000
commit091c77e3c54b15fa2378a89d15400795dc9f91ee (patch)
tree77899d33740aebb2caa9bb44a43e288251dcb737
parentc0678f2d281242601560e2646cab1aa8a349c4bb (diff)
parenta31c1dccb69e6c5999af31c2be4e6ee71043a5e3 (diff)
downloadgitlab-ce-091c77e3c54b15fa2378a89d15400795dc9f91ee.tar.gz
Merge branch 'issue_15222' into 'master'
Add test for search page Closes #15222 See merge request !3711
-rw-r--r--spec/features/search_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/search_spec.rb b/spec/features/search_spec.rb
index 3e6289a46b1..029a11ea43c 100644
--- a/spec/features/search_spec.rb
+++ b/spec/features/search_spec.rb
@@ -10,6 +10,10 @@ describe "Search", feature: true do
visit search_path
end
+ it 'top right search form is not present' do
+ expect(page).not_to have_selector('.search')
+ end
+
describe 'searching for Projects' do
it 'finds a project' do
page.within '.search-holder' do