Skip to content

Commit f1e3fde

Browse files
authored
Fix menu entry selection (#1246)
1 parent dda8e82 commit f1e3fde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui-tests/tests/file-selection.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test.describe('File selection for simple staging', () => {
6565
// Click [aria-label="main"] >> text=Git
6666
await page.locator('[aria-label="main"] >> text=Git').click();
6767
// Click text=Simple staging
68-
await page.locator('text=Simple staging').click();
68+
await page.getByRole('menuitem', { name: 'Simple staging' }).click();
6969
});
7070

7171
test('should mark four files with shift-click', async ({ page }) => {

0 commit comments

Comments
 (0)