Skip to content

Commit 6050df3

Browse files
author
HusneShabbir
committed
e2e fix
1 parent 607cf09 commit 6050df3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

e2e-tests/playwright/support/pages/extensions.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ export class Extensions {
7171
}
7272
}
7373

74+
async waitForSearchResults(searchText: string) {
75+
await expect(
76+
this.page.locator(".v5-MuiPaper-outlined").first(),
77+
).toContainText(searchText, { timeout: 10000 });
78+
}
79+
7480
async verifyPluginDetails({
7581
pluginName,
7682
badgeLabel,
@@ -129,6 +135,7 @@ export class Extensions {
129135

130136
if (searchTerm) {
131137
await this.uiHelper.searchInputPlaceholder(searchTerm);
138+
await this.waitForSearchResults(searchTerm);
132139
}
133140

134141
if (pluginName) {

0 commit comments

Comments
 (0)