Skip to content

Commit 1712def

Browse files
committed
Remove additional multi-substring search feature spec
https://claude.ai/code/session_01WBou6gxZVaywfpnNexokp7
1 parent 88203d7 commit 1712def

1 file changed

Lines changed: 0 additions & 36 deletions

File tree

spec/features/projects/project_autocomplete_spec.rb

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@
7878
create(:project, name:, identifier:, members: { user => role })
7979
end
8080
end
81-
shared_let(:multi_word_project) do
82-
create(:project, name: "The big beautiful fish", members: { user => role })
83-
end
8481
shared_let(:non_member_project) { create(:project) }
8582
shared_let(:public_project) { create(:public_project) }
8683

@@ -188,39 +185,6 @@
188185
top_menu.expect_current_project project2.name
189186
end
190187

191-
it "supports multi-substring search by matching all space-separated terms" do
192-
retry_block do
193-
top_menu.toggle unless top_menu.open?
194-
top_menu.expect_open
195-
top_menu.expect_result multi_word_project.name
196-
end
197-
198-
# Both terms present anywhere in the name
199-
retry_block do
200-
top_menu.search "big fish"
201-
top_menu.expect_result "The big beautiful fish"
202-
top_menu.expect_no_result "Plain project"
203-
end
204-
205-
# Partial word as the second term
206-
retry_block do
207-
top_menu.search "big fi"
208-
top_menu.expect_result "The big beautiful fish"
209-
end
210-
211-
# Terms in reverse order still match
212-
retry_block do
213-
top_menu.search "fish big"
214-
top_menu.expect_result "The big beautiful fish"
215-
end
216-
217-
# One term that does not appear → no match
218-
retry_block do
219-
top_menu.search "big xyz"
220-
top_menu.expect_no_result "The big beautiful fish"
221-
end
222-
end
223-
224188
it "displays workspace type badges for portfolios and programs",
225189
with_flag: { portfolio_models: true } do
226190
retry_block do

0 commit comments

Comments
 (0)