mirror of
https://github.com/inventree/InvenTree.git
synced 2026-08-16 02:06:29 +00:00
try fixing this flaky test on firefox (#12640)
This commit is contained in:
@@ -111,6 +111,8 @@ test('Transfer Order - Calendar', async ({ browser }) => {
|
|||||||
// Export calendar data - assert on download instead of notification
|
// Export calendar data - assert on download instead of notification
|
||||||
await page.getByLabel('calendar-export-data').click();
|
await page.getByLabel('calendar-export-data').click();
|
||||||
|
|
||||||
|
await page.bringToFront();
|
||||||
|
|
||||||
const [download] = await Promise.all([
|
const [download] = await Promise.all([
|
||||||
page.waitForEvent('download'),
|
page.waitForEvent('download'),
|
||||||
page.getByRole('button', { name: 'Export', exact: true }).click()
|
page.getByRole('button', { name: 'Export', exact: true }).click()
|
||||||
|
|||||||
Reference in New Issue
Block a user