@@ -107,7 +107,7 @@ test.describe('Document search', () => {
107107
108108 await searchButton . click ( ) ;
109109 await expect (
110- page . getByRole ( 'combobox' , { name : 'Search documents ' } ) ,
110+ page . getByRole ( 'combobox' , { name : 'Type the name of a document ' } ) ,
111111 ) . toBeVisible ( ) ;
112112 await expect ( filters ) . toBeHidden ( ) ;
113113
@@ -120,7 +120,7 @@ test.describe('Document search', () => {
120120
121121 await searchButton . click ( ) ;
122122 await expect (
123- page . getByRole ( 'combobox' , { name : 'Search documents ' } ) ,
123+ page . getByRole ( 'combobox' , { name : 'Type the name of a document ' } ) ,
124124 ) . toBeVisible ( ) ;
125125 await expect ( filters ) . toBeHidden ( ) ;
126126
@@ -168,9 +168,11 @@ test.describe('Document search', () => {
168168 const searchButton = page . getByTestId ( 'search-docs-button' ) ;
169169
170170 await searchButton . click ( ) ;
171- await page . getByRole ( 'combobox' , { name : 'Search documents' } ) . click ( ) ;
172171 await page
173- . getByRole ( 'combobox' , { name : 'Search documents' } )
172+ . getByRole ( 'combobox' , { name : 'Type the name of a document' } )
173+ . click ( ) ;
174+ await page
175+ . getByRole ( 'combobox' , { name : 'Type the name of a document' } )
174176 . fill ( 'sub page search' ) ;
175177
176178 // Expect to find the first and second docs in the results list
@@ -192,7 +194,7 @@ test.describe('Document search', () => {
192194 ) ;
193195 await searchButton . click ( ) ;
194196 await page
195- . getByRole ( 'combobox' , { name : 'Search documents ' } )
197+ . getByRole ( 'combobox' , { name : 'Type the name of a document ' } )
196198 . fill ( 'second' ) ;
197199
198200 // Now there is a sub page - expect to have the focus on the current doc
0 commit comments