File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
static/app/components/searchQueryBuilder Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ describe('AskSeer', () => {
58
58
organization : { features : [ 'gen-ai-features' , 'gen-ai-explore-traces' ] } ,
59
59
} ) ;
60
60
61
- const askSeer = await screen . findByRole ( 'option' , { name : ' Ask Seer' } ) ;
61
+ const askSeer = await screen . findByRole ( 'option' , { name : / A s k S e e r / } ) ;
62
62
expect ( askSeer ) . toBeInTheDocument ( ) ;
63
63
} ) ;
64
64
@@ -77,7 +77,7 @@ describe('AskSeer', () => {
77
77
organization : { features : [ 'gen-ai-features' , 'gen-ai-explore-traces' ] } ,
78
78
} ) ;
79
79
80
- const enableAi = await screen . findByText ( ' Enable Gen AI' ) ;
80
+ const enableAi = await screen . findByText ( / E n a b l e G e n A I / ) ;
81
81
expect ( enableAi ) . toBeInTheDocument ( ) ;
82
82
} ) ;
83
83
@@ -103,7 +103,7 @@ describe('AskSeer', () => {
103
103
organization : { features : [ 'gen-ai-features' , 'gen-ai-explore-traces' ] } ,
104
104
} ) ;
105
105
106
- const enableAi = await screen . findByText ( ' Enable Gen AI' ) ;
106
+ const enableAi = await screen . findByText ( / E n a b l e G e n A I / ) ;
107
107
expect ( enableAi ) . toBeInTheDocument ( ) ;
108
108
109
109
await userEvent . click ( enableAi ) ;
Original file line number Diff line number Diff line change @@ -991,7 +991,7 @@ describe('SearchQueryBuilder', function () {
991
991
await userEvent . click ( getLastInput ( ) ) ;
992
992
await userEvent . type ( screen . getByRole ( 'combobox' ) , 'some free text' ) ;
993
993
994
- expect ( screen . getByRole ( 'option' , { name : ' Enable Gen AI' } ) ) . toBeInTheDocument ( ) ;
994
+ expect ( screen . getByRole ( 'option' , { name : / E n a b l e G e n A I / } ) ) . toBeInTheDocument ( ) ;
995
995
} ) ;
996
996
997
997
it ( 'can add parens by typing' , async function ( ) {
You can’t perform that action at this time.
0 commit comments