This commit is contained in:
@@ -18,6 +18,7 @@ test('signs in and publishes a listing after adding an inventory image', async (
|
||||
await expect(page.getByRole('heading', { name: 'At a glance' })).toBeVisible();
|
||||
await expect(page.getByText('Active inventory')).toBeVisible();
|
||||
await expect(page.locator('.dashboard-summary__grid div').filter({ hasText: 'Missing images' }).getByRole('link')).toHaveAttribute('href', '#inventory-title');
|
||||
await expect(page.locator('.dashboard-summary__grid div').filter({ hasText: 'Provider failures' }).getByRole('link')).toHaveAttribute('href', '#pricing-title');
|
||||
|
||||
const category = page.locator('#product-category option').nth(1);
|
||||
await expect(category).toBeAttached();
|
||||
|
||||
Reference in New Issue
Block a user