migration to vite/playwright

This commit is contained in:
JFH
2025-11-29 11:31:34 +01:00
parent babd3490c9
commit a37fbac749
186 changed files with 2699 additions and 13224 deletions

19
tests/e2e/export.spec.js Normal file
View File

@@ -0,0 +1,19 @@
import { test, expect } from './fixtures.js'
import { openMainMenu, visitAndApproveStorage } from './helpers.js'
test.describe('Export', () => {
test.beforeEach(async ({ page }) => {
await visitAndApproveStorage(page)
})
test('export button visible in menu', async ({ page }) => {
await openMainMenu(page)
await expect(page.locator('#tool_export')).toBeVisible()
})
test('export dialog opens', async ({ page }) => {
await openMainMenu(page)
await page.locator('#tool_export').click()
await expect(page.locator('#dialog_content select')).toBeVisible()
})
})