We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b223b1e commit 26c28beCopy full SHA for 26c28be
e2e/src/pages/AppCatalogPage.ts
@@ -215,9 +215,9 @@ export class AppCatalogPage extends BasePage {
215
}
216
217
// Wait for second toast with final status (installed or error)
218
- // Try to find success message first
219
- const installedMessage = this.page.getByText(/installed/i).first();
220
- const errorMessage = this.page.getByText(/error.*install/i).first();
+ // Use more specific patterns to avoid matching other page elements
+ const installedMessage = this.page.getByText(/successfully installed|app.*installed/i).first();
+ const errorMessage = this.page.getByText(/failed|error/i).first();
221
222
try {
223
await Promise.race([
0 commit comments