mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 02:01:33 +10:00
14 lines
353 B
TypeScript
14 lines
353 B
TypeScript
import { test as base } from '@playwright/test';
|
|
|
|
import { DocumentsPage } from './DocumentsPageObject';
|
|
|
|
export const test = base.extend<{ documentsPage: DocumentsPage }>({
|
|
documentsPage: async ({ page }, use) => {
|
|
const documentsPage = new DocumentsPage(page);
|
|
|
|
await use(documentsPage);
|
|
},
|
|
});
|
|
|
|
export { expect } from '@playwright/test';
|