feat: added export options (#529)

* feat: added export options

* chore: eslint console proposal

---------

Co-authored-by: arc-alex <ac@omnivox.dk>
This commit is contained in:
Enubia
2023-10-30 11:41:15 +01:00
committed by GitHub
parent 7c234466f7
commit 78d5d442cf
12 changed files with 218 additions and 68 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ test('cuesheet displays events and exports csv', async ({ page }) => {
await page.getByRole('cell', { name: '+10 min' }).click();
await page.getByRole('cell', { name: 'Lunch' }).click();
const downloadPromise = page.waitForEvent('download');
await page.getByTestId('cuesheet').getByText('CSV').click();
await page.getByTestId('cuesheet').getByText('Export').click();
await page.getByText('CSV').click();
// From here we test the CSV download feature