Files
sabrilandGitHub 23af2531fa SEC-10098 E2E/Cypress chore(cypress): upgrade to v15.13 and to [email protected] (#36091)
* chore(cypress): upgrade to v15.13 and to [email protected]

* fix comments and update exposing cypress env
2026-04-16 13:35:26 +08:00

26 lines
628 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {UserProfile} from '@mattermost/types/users';
export interface User {
username: string;
password: string;
email: string;
}
export function getAdminAccount() {
return {
username: Cypress.expose('adminUsername'),
password: Cypress.expose('adminPassword'),
email: Cypress.expose('adminEmail'),
} as UserProfile;
}
export function getDBConfig() {
return {
client: Cypress.expose('dbClient'),
connection: Cypress.expose('dbConnection'),
};
}