mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
* move "e2e-tests/playwright/test" to "e2e-tests/playwright/test" and expose "ensurePluginsLoaded" * add test setup, and expose ensurePluginsLoaded and ensureServerDeployment to pw
14 lines
477 B
TypeScript
14 lines
477 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {test as setup} from '@mattermost/playwright-lib';
|
|
|
|
setup('ensure plugins are loaded', async ({pw}) => {
|
|
// Ensure all products as plugin are installed and active.
|
|
await pw.ensurePluginsLoaded();
|
|
});
|
|
|
|
setup('ensure server deployment', async ({pw}) => {
|
|
// Ensure server is on expected deployment type.
|
|
await pw.ensureServerDeployment();
|
|
});
|