mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
543 B
22 lines
543 B
/*
|
|
* Squidex Headless CMS
|
|
*
|
|
* @license
|
|
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
|
|
*/
|
|
|
|
import { readJsonAsync } from '../utils';
|
|
import { test as base } from './../given-login/_fixture';
|
|
export { expect } from '@playwright/test';
|
|
|
|
type AppFixture = {
|
|
appName: string;
|
|
};
|
|
|
|
export const test = base.extend<{}, AppFixture>({
|
|
appName: [async ({}, use) => {
|
|
const config = await readJsonAsync<AppFixture>('app', null!);
|
|
|
|
await use(config.appName);
|
|
}, { scope: 'worker', auto: true }],
|
|
});
|