-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathutilities.ts
More file actions
46 lines (38 loc) · 1.01 KB
/
utilities.ts
File metadata and controls
46 lines (38 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* SPDX-FileCopyrightText: (C) 2023 Intel Corporation
* SPDX-License-Identifier: Apache-2.0
*/
import { ProjectItem } from "@orch-ui/utils";
export interface IUser {
username: string;
password: string;
}
const password = Cypress.env("ORCH_DEFAULT_PASSWORD") as string | undefined;
if (!password) {
throw new Error("ORCH_DEFAULT_PASSWORD environment variable must be set");
}
export const ADMIN_USER: IUser = {
username: "sample-org-admin",
password,
};
export const EIM_USER: IUser = {
username: "sample-project-api-user",
password,
};
export const APP_ORCH_READWRITE_USER: IUser = {
username: "sample-project-edge-mgr",
password,
};
export const APP_ORCH_READ_USER: IUser = {
username: "sample-project-edge-op",
password,
};
export const KUBECTL_POD = "kubectl get pods -A";
export const defaultActiveProject: ProjectItem = {
name: "default-ui",
uID: "21f98e07-d551-4d64-92fc-fa2909bed3a2",
};
export const CLUSTER_ORCH_USER: IUser = {
username: "sample-project-edge-mgr",
password,
};