Files
vue-ts-example-2025/e2e/playwright/vue.spec.ts
严浩 e50d699a2a
Some checks failed
/ playwright (push) Successful in 1m33s
/ build-and-test (push) Failing after 2m7s
CI/CD Pipeline / build-and-deploy (push) Successful in 2m16s
CI/CD Pipeline / playwright (push) Successful in 3m26s
chore: initial commit
2025-10-15 16:27:39 +08:00

13 lines
321 B
TypeScript

import { test, expect } from '@playwright/test';
test.describe('Vue App', () => {
test('app renders correctly', async ({ page }) => {
await page.goto('/');
const app = page.locator('#app');
await expect(app).toBeVisible();
await page.locator('.app-loading').waitFor({ state: 'detached' });
});
});