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", () => {
6
6
await page . goto ( '/' ) ;
7
7
await waitFor ( ( ) => handleConsentPopup ( page ) ) ;
8
8
9
- const searchBox = page . locator ( '.CoveoSearchbox' ) ;
9
+ const searchBox = page . locator ( '.CoveoSearchbox' ) . first ( ) ;
10
10
const searchButton = page . locator ( '.CoveoSearchButton' ) ;
11
11
const searchValue = "proxy" ;
12
12
expect ( searchBox ) . toBeVisible ( ) ;
@@ -19,7 +19,7 @@ test.describe("Testing search page", () => {
19
19
} ) ;
20
20
21
21
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" ) ;
23
23
await waitFor ( ( ) => handleConsentPopup ( page ) ) ;
24
24
25
25
await page . waitForSelector ( 'div.coveo-result-list-container' ) ;
You can’t perform that action at this time.
0 commit comments