Skip to content

Commit d722380

Browse files
committed
Fixed: Inprecise locator makes playwright test fail
1 parent b043ff7 commit d722380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ms2/processes/process-modeler/process-modeler.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ test('process modeler', async ({ processModelerPage, processListPage }) => {
7474
expect(expectedURLWithVersion.test(page.url())).toBeTruthy();
7575

7676
// Open/close process select menu and process creation dialog
77-
const processSelectMenu = page.getByText('Process List');
77+
const processSelectMenu = page.locator('header').getByText('Process List');
7878

7979
await processSelectMenu.click();
8080
await expect(page.getByRole('option', { name: 'Process Name' })).toBeVisible();

0 commit comments

Comments
 (0)