Skip to content

Commit 707947a

Browse files
committed
fix: review update
1 parent 5837b6e commit 707947a

2 files changed

Lines changed: 38 additions & 2 deletions

File tree

tests/e2e/httpTransport.test.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,32 @@ describe('Builtin tools, HTTP transport', () => {
141141
]
142142
},
143143
{
144-
description: 'case-insensitive match',
144+
description: 'with trimmed query',
145+
searchQuery: ' Button ',
146+
contains: [
147+
'# Search results for PatternFly version "v6" and " Button ". Showing',
148+
'**button**',
149+
'Use a search all'
150+
]
151+
},
152+
{
153+
description: 'with lower case match',
145154
searchQuery: 'button',
146155
contains: [
147156
'# Search results for PatternFly version "v6" and "button". Showing',
148157
'**button**',
149158
'Use a search all'
150159
]
151160
},
161+
{
162+
description: 'with upper case match',
163+
searchQuery: 'BUTTON',
164+
contains: [
165+
'# Search results for PatternFly version "v6" and "BUTTON". Showing',
166+
'**button**',
167+
'Use a search all'
168+
]
169+
},
152170
{
153171
description: 'wildcard search',
154172
searchQuery: '*',

tests/e2e/stdioTransport.test.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,32 @@ describe('Builtin tools, STDIO', () => {
137137
]
138138
},
139139
{
140-
description: 'case-insensitive match',
140+
description: 'with trimmed query',
141+
searchQuery: ' Button ',
142+
contains: [
143+
'# Search results for PatternFly version "v6" and " Button ". Showing',
144+
'**button**',
145+
'Use a search all'
146+
]
147+
},
148+
{
149+
description: 'with lower case match',
141150
searchQuery: 'button',
142151
contains: [
143152
'# Search results for PatternFly version "v6" and "button". Showing',
144153
'**button**',
145154
'Use a search all'
146155
]
147156
},
157+
{
158+
description: 'with upper case match',
159+
searchQuery: 'BUTTON',
160+
contains: [
161+
'# Search results for PatternFly version "v6" and "BUTTON". Showing',
162+
'**button**',
163+
'Use a search all'
164+
]
165+
},
148166
{
149167
description: 'wildcard search',
150168
searchQuery: '*',

0 commit comments

Comments
 (0)