mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 17:11:17 -08:00
17 lines
344 B
TypeScript
17 lines
344 B
TypeScript
import { test as base } from '@playwright/test';
|
|
import { AppShell } from '../pages/AppShell';
|
|
|
|
type Fixtures = {
|
|
app: AppShell;
|
|
};
|
|
|
|
export const test = base.extend<Fixtures>({
|
|
app: async ({ page }, use) => {
|
|
const app = new AppShell(page);
|
|
await app.open();
|
|
await use(app);
|
|
},
|
|
});
|
|
|
|
export { expect } from '@playwright/test';
|