mirror of
https://github.com/tester-army/e2e.git
synced 2026-11-25 02:24:26 +08:00
15 lines
458 B
TypeScript
15 lines
458 B
TypeScript
import { test } from '@e2edev/playwright';
|
|
import { expect } from 'e2e';
|
|
|
|
test('app opens', async ({ app, web }) => {
|
|
await app.open('/');
|
|
await expect(web.locator('body')).toBeVisible();
|
|
});
|
|
|
|
// With the model key in the environment, uncomment:
|
|
// test('the agent drives a flow', async ({ app, agent }) => {
|
|
// await app.open('/');
|
|
// await agent.act('one goal in natural language');
|
|
// await agent.assert('one question about the screen');
|
|
// });
|