* instantiate page in pw * update spec * fix storage key and require user when logging in via API --------- Co-authored-by: Mattermost Build <build@mattermost.com>
14 строки
470 B
TypeScript
14 строки
470 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {test} from '@e2e-support/test_fixture';
|
|
|
|
test('/landing#/login', async ({pw, page, browserName, viewport}, testInfo) => {
|
|
// Go to landing login page
|
|
await pw.landingLoginPage.goto();
|
|
await pw.landingLoginPage.toBeVisible();
|
|
|
|
// Match snapshot of landing page
|
|
await pw.matchSnapshot(testInfo, {page, browserName, viewport});
|
|
});
|