mirror of
https://github.com/hanzoai/team.git
synced 2026-09-30 01:57:35 +00:00
* chore(cypress): upgrade to v15.13 and to [email protected] * fix comments and update exposing cypress env
26 lines
628 B
TypeScript
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'),
|
|
};
|
|
}
|