Skip to content

Commit 1969fe2

Browse files
committed
Updated locators to target the specific repository row to prevent failures when multiple repositories are present. This ensures the test interacts with the correct row.
1 parent 224cbd5 commit 1969fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_playwright-tests/UI/RepositoryPackages.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ test.describe('Snapshot Package Count and List', async () => {
6060
const editedRepoPackageCountValue = await editedRow
6161
.getByTestId('package_count_button')
6262
.textContent();
63-
await page.getByRole('button', { name: 'Kebab toggle' }).click();
63+
await editedRow.getByRole('button', { name: 'Kebab toggle' }).click();
6464
await page.getByRole('menuitem', { name: 'View all snapshots' }).click();
6565
// refresh page to get the updated snapshot
6666
await page.reload();

0 commit comments

Comments
 (0)