File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ test.describe("Testing search page", () => {
66 await page . goto ( '/' ) ;
77 await waitFor ( ( ) => handleConsentPopup ( page ) ) ;
88
9- const searchBox = page . locator ( '.CoveoSearchbox' ) ;
9+ const searchBox = page . locator ( '.CoveoSearchbox' ) . first ( ) ;
1010 const searchButton = page . locator ( '.CoveoSearchButton' ) ;
1111 const searchValue = "proxy" ;
1212 expect ( searchBox ) . toBeVisible ( ) ;
@@ -19,7 +19,7 @@ test.describe("Testing search page", () => {
1919 } ) ;
2020
2121 test ( 'Search page returns results without error' , async ( { page } ) => {
22- await page . goto ( ` /search.html#q=proxy&sort=relevancy` ) ;
22+ await page . goto ( " /search.html#q=proxy&sort=relevancy" ) ;
2323 await waitFor ( ( ) => handleConsentPopup ( page ) ) ;
2424
2525 await page . waitForSelector ( 'div.coveo-result-list-container' ) ;
You can’t perform that action at this time.
0 commit comments