Improve pick list item interactions and manage products search
This commit is contained in:
@@ -123,7 +123,9 @@ test.describe('Active pick list', () => {
|
||||
|
||||
await expect(page.getByText('Product updated.')).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: `Edit ${updatedListProductName}` })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: `Edit ${listProductName}` })).toHaveCount(0);
|
||||
await expect(
|
||||
page.getByRole('button', { name: `Edit ${listProductName}`, exact: true }),
|
||||
).toHaveCount(0);
|
||||
|
||||
await page.getByRole('button', { name: `Delete ${updatedListProductName}` }).click();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user