Skip to content

Commit 4fe5d75

Browse files
authored
chore(tests): hotfix - fix startRecipeButton locator causing failures for certain apps (#3470)
Signed-off-by: Tibor Dancs <[email protected]>
1 parent e67ebb7 commit 4fe5d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/playwright/src/model/ai-lab-start-recipe-page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class AILabStartRecipePage extends AILabBasePage {
3333
super(page, webview, 'Start recipe');
3434
this.recipeStatus = this.webview.getByRole('status');
3535
this.applicationDetailsPanel = this.webview.getByLabel('application details panel');
36-
this.startRecipeButton = this.webview.getByRole('button', { name: /Start(\s+([a-z]+\s+)+)recipe/i });
36+
this.startRecipeButton = this.webview.getByRole('button', { name: /^Start .+ recipe$/i });
3737
this.openAIAppButton = this.applicationDetailsPanel.getByRole('button', { name: 'Open AI App' });
3838
this.deleteAIAppButton = this.applicationDetailsPanel.getByRole('button', { name: 'Delete AI App' });
3939
}

0 commit comments

Comments
 (0)