Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-12-19 02:04:29 +0300
committerClement Ho <ClemMakesApps@gmail.com>2017-01-10 01:01:34 +0300
commit12753def903f265467d2cab8e19deced31daf066 (patch)
tree7680425083030fa2bb427328e2079de072043f4a /spec/features/issues/filtered_search/dropdown_author_spec.rb
parentf72c1bf1c930b4dcb533202204d132f42246d99f (diff)
Fix specs
Diffstat (limited to 'spec/features/issues/filtered_search/dropdown_author_spec.rb')
-rw-r--r--spec/features/issues/filtered_search/dropdown_author_spec.rb13
1 files changed, 4 insertions, 9 deletions
diff --git a/spec/features/issues/filtered_search/dropdown_author_spec.rb b/spec/features/issues/filtered_search/dropdown_author_spec.rb
index 956f7156c5f..d053b032768 100644
--- a/spec/features/issues/filtered_search/dropdown_author_spec.rb
+++ b/spec/features/issues/filtered_search/dropdown_author_spec.rb
@@ -70,13 +70,13 @@ describe 'Dropdown author', js: true, feature: true do
end
it 'filters by name' do
- send_keys_to_filtered_search('j')
- expect(dropdown_author_size).to eq(2)
+ send_keys_to_filtered_search('ja')
+ expect(dropdown_author_size).to eq(1)
end
it 'filters by case insensitive name' do
- send_keys_to_filtered_search('J')
- expect(dropdown_author_size).to eq(2)
+ send_keys_to_filtered_search('Ja')
+ expect(dropdown_author_size).to eq(1)
end
it 'filters by username with symbol' do
@@ -84,11 +84,6 @@ describe 'Dropdown author', js: true, feature: true do
expect(dropdown_author_size).to eq(2)
end
- it 'filters by case insensitive username with symbol' do
- send_keys_to_filtered_search('@OT')
- expect(dropdown_author_size).to eq(2)
- end
-
it 'filters by username without symbol' do
send_keys_to_filtered_search('ot')
expect(dropdown_author_size).to eq(2)