mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 21:10:38 +03:00
15 lines
334 B
TypeScript
15 lines
334 B
TypeScript
![]() |
import { test as base } from '@playwright/test';
|
||
|
|
||
|
import { setupAuth } from './mocks/auth';
|
||
|
import { setupUsers } from './mocks/users';
|
||
|
export { expect } from '@playwright/test';
|
||
|
|
||
|
export const test = base.extend({
|
||
|
page: async ({ page }, use) => {
|
||
|
await setupAuth(page);
|
||
|
await setupUsers(page);
|
||
|
|
||
|
await use(page);
|
||
|
}
|
||
|
});
|