Files
wanderer/web/tests/playwright/e2e/index/index.spec.ts
Christian Beutel 7571f6e9b9 adds tests
2025-01-21 14:37:52 +01:00

16 lines
409 B
TypeScript

import { expect, test } from '@playwright/test';
import { IndexPage } from '../../pages/index_page';
test('index page does not show error', async ({ page }) => {
const indexPage = new IndexPage(page);
await indexPage.goto()
await indexPage.hasNoError()
});
test('location search works', async ({ page }) => {
const indexPage = new IndexPage(page);
await indexPage.goto()
await indexPage.search()
});