neko/e2e/vue.spec.ts

9 lines
278 B
TypeScript
Raw Normal View History

2024-03-17 12:00:14 +13:00
import { test, expect } from '@playwright/test';
// See here how to get started:
// https://playwright.dev/docs/intro
test('visits the app root url', async ({ page }) => {
await page.goto('/');
await expect(page.locator('div.greetings > h1')).toHaveText('You did it!');
})