feat: implement Save & Taste flow in CameraCapture
This commit is contained in:
12
tests/e2e/landing.test.ts
Normal file
12
tests/e2e/landing.test.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test('has title and login form', async ({ page }) => {
|
||||
await page.goto('/');
|
||||
|
||||
// Expect a title "to contain" a substring.
|
||||
await expect(page.locator('h1')).toContainText('WHISKYVAULT');
|
||||
|
||||
// Expect login form to be visible
|
||||
await expect(page.getByPlaceholder('name@beispiel.de')).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Einloggen' })).toBeVisible();
|
||||
});
|
||||
Reference in New Issue
Block a user