We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26c28be commit c3f8e19Copy full SHA for c3f8e19
1 file changed
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
- // Use more specific patterns to avoid matching other page elements
219
- const installedMessage = this.page.getByText(/successfully installed|app.*installed/i).first();
220
- const errorMessage = this.page.getByText(/failed|error/i).first();
+ // Match exact toast messages using app name
+ const installedMessage = this.page.getByText(`${appName} installed`).first();
+ const errorMessage = this.page.getByText(`Error installing ${appName}`).first();
221
222
try {
223
await Promise.race([
0 commit comments