Skip to content

Commit 51c7e28

Browse files
fix: test example
1 parent 1b6fc5d commit 51c7e28

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ describe("test examples", () => {
120120
await fileSearchInput.waitForDisplayed();
121121
await fileSearchInput.setValue("config");
122122
123-
// Find by id
124-
const fileSearchResults = await browser.$("#docsearch-list");
123+
// Find by selector
124+
const fileSearchResults = await browser.$("ul[aria-labelledby='docsearch-label']");
125125
126126
// Find by role
127127
const fileSearchResultsItems = await fileSearchResults.findAllByRole("option");

0 commit comments

Comments
 (0)