dailykart-testing/tests/inconsistent-hover.spec.ts

13 lines
397 B
TypeScript

import { test, expect } from '@playwright/test';
test.describe.configure({ timeout: 60000 }); // set timeout for all tests in this file
test('#3 Product card should not resize or break styling on hover', async ({ page }) => {
await page.goto('https://uat.dailykart.net/shop', {
waitUntil: 'domcontentloaded', // faster than 'load'
timeout: 60000,
});
// ... rest of your test
});