@camunda/e2e-test-suite 0.0.257 → 0.0.258
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fixtures/SM-8.10.d.ts +81 -0
- package/dist/fixtures/SM-8.10.js +184 -0
- package/dist/pages/SM-8.10/Authorization.d.ts +31 -0
- package/dist/pages/SM-8.10/Authorization.js +146 -0
- package/dist/pages/SM-8.10/ClusterDetailsPage.d.ts +8 -0
- package/dist/pages/SM-8.10/ClusterDetailsPage.js +28 -0
- package/dist/pages/SM-8.10/ClusterPage.d.ts +11 -0
- package/dist/pages/SM-8.10/ClusterPage.js +32 -0
- package/dist/pages/SM-8.10/ConnectorMarketplacePage.d.ts +16 -0
- package/dist/pages/SM-8.10/ConnectorMarketplacePage.js +52 -0
- package/dist/pages/SM-8.10/ConnectorSettingsPage.d.ts +40 -0
- package/dist/pages/SM-8.10/ConnectorSettingsPage.js +133 -0
- package/dist/pages/SM-8.10/ConnectorTemplatePage.d.ts +11 -0
- package/dist/pages/SM-8.10/ConnectorTemplatePage.js +34 -0
- package/dist/pages/SM-8.10/ConsoleHomePage.d.ts +11 -0
- package/dist/pages/SM-8.10/ConsoleHomePage.js +31 -0
- package/dist/pages/SM-8.10/ConsoleOrganizationPage.d.ts +22 -0
- package/dist/pages/SM-8.10/ConsoleOrganizationPage.js +68 -0
- package/dist/pages/SM-8.10/FormJsPage.d.ts +31 -0
- package/dist/pages/SM-8.10/FormJsPage.js +87 -0
- package/dist/pages/SM-8.10/HomePage.d.ts +20 -0
- package/dist/pages/SM-8.10/HomePage.js +49 -0
- package/dist/pages/SM-8.10/IdentityTenantPage.d.ts +52 -0
- package/dist/pages/SM-8.10/IdentityTenantPage.js +218 -0
- package/dist/pages/SM-8.10/IdentityUsersPage.d.ts +92 -0
- package/dist/pages/SM-8.10/IdentityUsersPage.js +473 -0
- package/dist/pages/SM-8.10/KeycloakAdminPage.d.ts +15 -0
- package/dist/pages/SM-8.10/KeycloakAdminPage.js +68 -0
- package/dist/pages/SM-8.10/KeycloakLoginPage.d.ts +11 -0
- package/dist/pages/SM-8.10/KeycloakLoginPage.js +25 -0
- package/dist/pages/SM-8.10/KeycloakUtils.d.ts +16 -0
- package/dist/pages/SM-8.10/KeycloakUtils.js +63 -0
- package/dist/pages/SM-8.10/LoginPage.d.ts +21 -0
- package/dist/pages/SM-8.10/LoginPage.js +100 -0
- package/dist/pages/SM-8.10/ManagementIdentityPage.d.ts +46 -0
- package/dist/pages/SM-8.10/ManagementIdentityPage.js +153 -0
- package/dist/pages/SM-8.10/ModelerCreatePage.d.ts +199 -0
- package/dist/pages/SM-8.10/ModelerCreatePage.js +1052 -0
- package/dist/pages/SM-8.10/ModelerHomePage.d.ts +44 -0
- package/dist/pages/SM-8.10/ModelerHomePage.js +179 -0
- package/dist/pages/SM-8.10/NavigationPage.d.ts +47 -0
- package/dist/pages/SM-8.10/NavigationPage.js +134 -0
- package/dist/pages/SM-8.10/OCIdentityAuthorizationsPage.d.ts +10 -0
- package/dist/pages/SM-8.10/OCIdentityAuthorizationsPage.js +35 -0
- package/dist/pages/SM-8.10/OCIdentityClusterVariablesPage.d.ts +20 -0
- package/dist/pages/SM-8.10/OCIdentityClusterVariablesPage.js +69 -0
- package/dist/pages/SM-8.10/OCIdentityGroupsPage.d.ts +39 -0
- package/dist/pages/SM-8.10/OCIdentityGroupsPage.js +154 -0
- package/dist/pages/SM-8.10/OCIdentityHomePage.d.ts +23 -0
- package/dist/pages/SM-8.10/OCIdentityHomePage.js +81 -0
- package/dist/pages/SM-8.10/OCIdentityMappingRulesPage.d.ts +23 -0
- package/dist/pages/SM-8.10/OCIdentityMappingRulesPage.js +110 -0
- package/dist/pages/SM-8.10/OCIdentityRolesPage.d.ts +55 -0
- package/dist/pages/SM-8.10/OCIdentityRolesPage.js +197 -0
- package/dist/pages/SM-8.10/OCTenantPage.d.ts +67 -0
- package/dist/pages/SM-8.10/OCTenantPage.js +280 -0
- package/dist/pages/SM-8.10/OperateHomePage.d.ts +24 -0
- package/dist/pages/SM-8.10/OperateHomePage.js +81 -0
- package/dist/pages/SM-8.10/OperateProcessInstancePage.d.ts +24 -0
- package/dist/pages/SM-8.10/OperateProcessInstancePage.js +170 -0
- package/dist/pages/SM-8.10/OperateProcessesPage.d.ts +32 -0
- package/dist/pages/SM-8.10/OperateProcessesPage.js +205 -0
- package/dist/pages/SM-8.10/OptimizeCollectionsPage.d.ts +17 -0
- package/dist/pages/SM-8.10/OptimizeCollectionsPage.js +66 -0
- package/dist/pages/SM-8.10/OptimizeDashboardPage.d.ts +14 -0
- package/dist/pages/SM-8.10/OptimizeDashboardPage.js +56 -0
- package/dist/pages/SM-8.10/OptimizeHomePage.d.ts +19 -0
- package/dist/pages/SM-8.10/OptimizeHomePage.js +64 -0
- package/dist/pages/SM-8.10/OptimizeReportPage.d.ts +50 -0
- package/dist/pages/SM-8.10/OptimizeReportPage.js +179 -0
- package/dist/pages/SM-8.10/PlayPage.d.ts +44 -0
- package/dist/pages/SM-8.10/PlayPage.js +235 -0
- package/dist/pages/SM-8.10/SettingsPage.d.ts +12 -0
- package/dist/pages/SM-8.10/SettingsPage.js +25 -0
- package/dist/pages/SM-8.10/TaskDetailsPage.d.ts +70 -0
- package/dist/pages/SM-8.10/TaskDetailsPage.js +266 -0
- package/dist/pages/SM-8.10/TaskPanelPage.d.ts +24 -0
- package/dist/pages/SM-8.10/TaskPanelPage.js +93 -0
- package/dist/pages/SM-8.10/TaskProcessesPage.d.ts +14 -0
- package/dist/pages/SM-8.10/TaskProcessesPage.js +53 -0
- package/dist/pages/SM-8.10/UtilitiesPage.d.ts +34 -0
- package/dist/pages/SM-8.10/UtilitiesPage.js +435 -0
- package/dist/pages/SM-8.10/optimizeReportUtils.d.ts +6 -0
- package/dist/pages/SM-8.10/optimizeReportUtils.js +42 -0
- package/dist/pages/SM-8.7/ModelerCreatePage.js +3 -0
- package/dist/pages/SM-8.7/PlayPage.d.ts +1 -0
- package/dist/pages/SM-8.7/PlayPage.js +4 -2
- package/dist/tests/SM-8.10/cluster-variables.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/cluster-variables.spec.js +190 -0
- package/dist/tests/SM-8.10/connectors-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/connectors-user-flows.spec.js +260 -0
- package/dist/tests/SM-8.10/console-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/console-user-flows.spec.js +88 -0
- package/dist/tests/SM-8.10/document-handling-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/document-handling-user-flows.spec.js +157 -0
- package/dist/tests/SM-8.10/hto-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/hto-user-flows.spec.js +408 -0
- package/dist/tests/SM-8.10/identity-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/identity-user-flows.spec.js +233 -0
- package/dist/tests/SM-8.10/license-key-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/license-key-user-flows.spec.js +523 -0
- package/dist/tests/SM-8.10/login.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/login.spec.js +24 -0
- package/dist/tests/SM-8.10/migration-path-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/migration-path-user-flows.spec.js +224 -0
- package/dist/tests/SM-8.10/mt-enabled-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/mt-enabled-user-flows.spec.js +584 -0
- package/dist/tests/SM-8.10/optimize-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/optimize-user-flows.spec.js +184 -0
- package/dist/tests/SM-8.10/play.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/play.spec.js +152 -0
- package/dist/tests/SM-8.10/rba-enabled-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/rba-enabled-user-flows.spec.js +715 -0
- package/dist/tests/SM-8.10/smoke-tests.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/smoke-tests.spec.js +163 -0
- package/dist/tests/SM-8.10/test-setup.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/test-setup.spec.js +24 -0
- package/dist/tests/SM-8.10/web-modeler-user-flows.spec.d.ts +1 -0
- package/dist/tests/SM-8.10/web-modeler-user-flows.spec.js +178 -0
- package/package.json +1 -1
|
@@ -0,0 +1,523 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const SM_8_10_1 = require("../../fixtures/SM-8.10");
|
|
4
|
+
const test_1 = require("@playwright/test");
|
|
5
|
+
const _setup_1 = require("../../test-setup.js");
|
|
6
|
+
if (process.env.IS_LICENSE_KEY === 'true') {
|
|
7
|
+
SM_8_10_1.test.describe.configure({ mode: 'parallel' });
|
|
8
|
+
SM_8_10_1.test.describe('License Key User Flows Test', () => {
|
|
9
|
+
SM_8_10_1.test.beforeEach(async ({ navigationPage }, testInfo) => {
|
|
10
|
+
await navigationPage.goToOCIdentity((testInfo.workerIndex + 1) * 1000);
|
|
11
|
+
});
|
|
12
|
+
SM_8_10_1.test.afterEach(async ({ page }, testInfo) => {
|
|
13
|
+
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
14
|
+
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
15
|
+
});
|
|
16
|
+
(0, SM_8_10_1.test)('License Invalid Commercial Expired User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
17
|
+
if (process.env.LICENSE_KEY !== 'lic-inv-com-expired') {
|
|
18
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
19
|
+
}
|
|
20
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
21
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
22
|
+
timeout: 60000,
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
26
|
+
await navigationPage.goToManagementIdentity();
|
|
27
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagNonProduction).toBeVisible({
|
|
28
|
+
timeout: 60000,
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
32
|
+
await navigationPage.goToModeler();
|
|
33
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
34
|
+
timeout: 60000,
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
38
|
+
await navigationPage.goToTasklist();
|
|
39
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagNonProduction).toBeVisible({
|
|
40
|
+
timeout: 60000,
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
44
|
+
await navigationPage.goToOperate();
|
|
45
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
46
|
+
timeout: 60000,
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
50
|
+
await navigationPage.goToOptimize();
|
|
51
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
52
|
+
timeout: 60000,
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
56
|
+
await navigationPage.goToConsole();
|
|
57
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
58
|
+
timeout: 60000,
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
(0, SM_8_10_1.test)('License Invalid Commercial Special Characters User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
63
|
+
if (process.env.LICENSE_KEY !== 'lic-inv-com-special-characters') {
|
|
64
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
65
|
+
}
|
|
66
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
67
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
68
|
+
timeout: 60000,
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
72
|
+
await navigationPage.goToManagementIdentity();
|
|
73
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagNonProduction).toBeVisible({
|
|
74
|
+
timeout: 60000,
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
78
|
+
await navigationPage.goToModeler();
|
|
79
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
80
|
+
timeout: 60000,
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
84
|
+
await navigationPage.goToTasklist();
|
|
85
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagNonProduction).toBeVisible({
|
|
86
|
+
timeout: 60000,
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
90
|
+
await navigationPage.goToOperate();
|
|
91
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
92
|
+
timeout: 60000,
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
96
|
+
await navigationPage.goToOptimize();
|
|
97
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
98
|
+
timeout: 60000,
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
102
|
+
await navigationPage.goToConsole();
|
|
103
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
104
|
+
timeout: 60000,
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
(0, SM_8_10_1.test)('License Invalid Commercial Wrong Signature User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
109
|
+
if (process.env.LICENSE_KEY !== 'lic-inv-com-wrong-signature') {
|
|
110
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
111
|
+
}
|
|
112
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
113
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
114
|
+
timeout: 60000,
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
118
|
+
await navigationPage.goToManagementIdentity();
|
|
119
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagNonProduction).toBeVisible({
|
|
120
|
+
timeout: 60000,
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
124
|
+
await navigationPage.goToModeler();
|
|
125
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
126
|
+
timeout: 60000,
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
130
|
+
await navigationPage.goToTasklist();
|
|
131
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagNonProduction).toBeVisible({
|
|
132
|
+
timeout: 60000,
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
136
|
+
await navigationPage.goToOperate();
|
|
137
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
138
|
+
timeout: 60000,
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
142
|
+
await navigationPage.goToOptimize();
|
|
143
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
144
|
+
timeout: 60000,
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
148
|
+
await navigationPage.goToConsole();
|
|
149
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
150
|
+
timeout: 60000,
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
(0, SM_8_10_1.test)('License Invalid Non-Commercial Expired User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
155
|
+
if (process.env.LICENSE_KEY !== 'lic-inv-ncom-expired') {
|
|
156
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
157
|
+
}
|
|
158
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
159
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
160
|
+
timeout: 60000,
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
164
|
+
await navigationPage.goToManagementIdentity();
|
|
165
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagNonProduction).toBeVisible({
|
|
166
|
+
timeout: 60000,
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
170
|
+
await navigationPage.goToModeler();
|
|
171
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
172
|
+
timeout: 60000,
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
176
|
+
await navigationPage.goToTasklist();
|
|
177
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagNonProduction).toBeVisible({
|
|
178
|
+
timeout: 60000,
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
182
|
+
await navigationPage.goToOperate();
|
|
183
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
184
|
+
timeout: 60000,
|
|
185
|
+
});
|
|
186
|
+
});
|
|
187
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
188
|
+
await navigationPage.goToOptimize();
|
|
189
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
190
|
+
timeout: 60000,
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
194
|
+
await navigationPage.goToConsole();
|
|
195
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagNonProduction).toBeVisible({
|
|
196
|
+
timeout: 60000,
|
|
197
|
+
});
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
(0, SM_8_10_1.test)('License Valid Commercial Changed Whitespaces User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
201
|
+
if (process.env.LICENSE_KEY !== 'lic-val-com-whitespace-changed') {
|
|
202
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
203
|
+
}
|
|
204
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
205
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagProduction).toBeVisible({
|
|
206
|
+
timeout: 60000,
|
|
207
|
+
});
|
|
208
|
+
});
|
|
209
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
210
|
+
await navigationPage.goToManagementIdentity();
|
|
211
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagProduction).toBeVisible({
|
|
212
|
+
timeout: 60000,
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
216
|
+
await navigationPage.goToModeler();
|
|
217
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagProduction).toBeVisible({
|
|
218
|
+
timeout: 60000,
|
|
219
|
+
});
|
|
220
|
+
});
|
|
221
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
222
|
+
await navigationPage.goToTasklist();
|
|
223
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagProduction).toBeVisible({
|
|
224
|
+
timeout: 60000,
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
228
|
+
await navigationPage.goToOperate();
|
|
229
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagProduction).toBeVisible({
|
|
230
|
+
timeout: 60000,
|
|
231
|
+
});
|
|
232
|
+
});
|
|
233
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
234
|
+
await navigationPage.goToOptimize();
|
|
235
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagProduction).toBeVisible({
|
|
236
|
+
timeout: 60000,
|
|
237
|
+
});
|
|
238
|
+
});
|
|
239
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
240
|
+
await navigationPage.goToConsole();
|
|
241
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagProduction).toBeVisible({
|
|
242
|
+
timeout: 60000,
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
(0, SM_8_10_1.test)('License Valid Commercial Mixed Headers User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
247
|
+
if (process.env.LICENSE_KEY !== 'lic-val-com-mixed-headers') {
|
|
248
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
249
|
+
}
|
|
250
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
251
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagProduction).toBeVisible({
|
|
252
|
+
timeout: 60000,
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
256
|
+
await navigationPage.goToManagementIdentity();
|
|
257
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagProduction).toBeVisible({
|
|
258
|
+
timeout: 60000,
|
|
259
|
+
});
|
|
260
|
+
});
|
|
261
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
262
|
+
await navigationPage.goToModeler();
|
|
263
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagProduction).toBeVisible({
|
|
264
|
+
timeout: 60000,
|
|
265
|
+
});
|
|
266
|
+
});
|
|
267
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
268
|
+
await navigationPage.goToTasklist();
|
|
269
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagProduction).toBeVisible({
|
|
270
|
+
timeout: 60000,
|
|
271
|
+
});
|
|
272
|
+
});
|
|
273
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
274
|
+
await navigationPage.goToOperate();
|
|
275
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagProduction).toBeVisible({
|
|
276
|
+
timeout: 60000,
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
280
|
+
await navigationPage.goToOptimize();
|
|
281
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagProduction).toBeVisible({
|
|
282
|
+
timeout: 60000,
|
|
283
|
+
});
|
|
284
|
+
});
|
|
285
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
286
|
+
await navigationPage.goToConsole();
|
|
287
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagProduction).toBeVisible({
|
|
288
|
+
timeout: 60000,
|
|
289
|
+
});
|
|
290
|
+
});
|
|
291
|
+
});
|
|
292
|
+
(0, SM_8_10_1.test)('License Valid Commercial No Headers User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
293
|
+
if (process.env.LICENSE_KEY !== 'lic-val-com-no-headers') {
|
|
294
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
295
|
+
}
|
|
296
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
297
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagProduction).toBeVisible({
|
|
298
|
+
timeout: 60000,
|
|
299
|
+
});
|
|
300
|
+
});
|
|
301
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
302
|
+
await navigationPage.goToManagementIdentity();
|
|
303
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagProduction).toBeVisible({
|
|
304
|
+
timeout: 60000,
|
|
305
|
+
});
|
|
306
|
+
});
|
|
307
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
308
|
+
await navigationPage.goToModeler();
|
|
309
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagProduction).toBeVisible({
|
|
310
|
+
timeout: 60000,
|
|
311
|
+
});
|
|
312
|
+
});
|
|
313
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
314
|
+
await navigationPage.goToTasklist();
|
|
315
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagProduction).toBeVisible({
|
|
316
|
+
timeout: 60000,
|
|
317
|
+
});
|
|
318
|
+
});
|
|
319
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
320
|
+
await navigationPage.goToOperate();
|
|
321
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagProduction).toBeVisible({
|
|
322
|
+
timeout: 60000,
|
|
323
|
+
});
|
|
324
|
+
});
|
|
325
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
326
|
+
await navigationPage.goToOptimize();
|
|
327
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagProduction).toBeVisible({
|
|
328
|
+
timeout: 60000,
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
332
|
+
await navigationPage.goToConsole();
|
|
333
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagProduction).toBeVisible({
|
|
334
|
+
timeout: 60000,
|
|
335
|
+
});
|
|
336
|
+
});
|
|
337
|
+
});
|
|
338
|
+
(0, SM_8_10_1.test)('License Valid Commercial No New Lines User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
339
|
+
if (process.env.LICENSE_KEY !== 'lic-val-com-no-newlines') {
|
|
340
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
341
|
+
}
|
|
342
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
343
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagProduction).toBeVisible({
|
|
344
|
+
timeout: 60000,
|
|
345
|
+
});
|
|
346
|
+
});
|
|
347
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
348
|
+
await navigationPage.goToManagementIdentity();
|
|
349
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagProduction).toBeVisible({
|
|
350
|
+
timeout: 60000,
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
354
|
+
await navigationPage.goToModeler();
|
|
355
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagProduction).toBeVisible({
|
|
356
|
+
timeout: 60000,
|
|
357
|
+
});
|
|
358
|
+
});
|
|
359
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
360
|
+
await navigationPage.goToTasklist();
|
|
361
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagProduction).toBeVisible({
|
|
362
|
+
timeout: 60000,
|
|
363
|
+
});
|
|
364
|
+
});
|
|
365
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
366
|
+
await navigationPage.goToOperate();
|
|
367
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagProduction).toBeVisible({
|
|
368
|
+
timeout: 60000,
|
|
369
|
+
});
|
|
370
|
+
});
|
|
371
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
372
|
+
await navigationPage.goToOptimize();
|
|
373
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagProduction).toBeVisible({
|
|
374
|
+
timeout: 60000,
|
|
375
|
+
});
|
|
376
|
+
});
|
|
377
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
378
|
+
await navigationPage.goToConsole();
|
|
379
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagProduction).toBeVisible({
|
|
380
|
+
timeout: 60000,
|
|
381
|
+
});
|
|
382
|
+
});
|
|
383
|
+
});
|
|
384
|
+
(0, SM_8_10_1.test)('License Valid Commercial Unlimited User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
385
|
+
if (process.env.LICENSE_KEY !== 'lic-val-com-unlimited') {
|
|
386
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
387
|
+
}
|
|
388
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
389
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagProduction).toBeVisible({
|
|
390
|
+
timeout: 60000,
|
|
391
|
+
});
|
|
392
|
+
});
|
|
393
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
394
|
+
await navigationPage.goToManagementIdentity();
|
|
395
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagProduction).toBeVisible({
|
|
396
|
+
timeout: 60000,
|
|
397
|
+
});
|
|
398
|
+
});
|
|
399
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
400
|
+
await navigationPage.goToModeler();
|
|
401
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagProduction).toBeVisible({
|
|
402
|
+
timeout: 60000,
|
|
403
|
+
});
|
|
404
|
+
});
|
|
405
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
406
|
+
await navigationPage.goToTasklist();
|
|
407
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagProduction).toBeVisible({
|
|
408
|
+
timeout: 60000,
|
|
409
|
+
});
|
|
410
|
+
});
|
|
411
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
412
|
+
await navigationPage.goToOperate();
|
|
413
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagProduction).toBeVisible({
|
|
414
|
+
timeout: 60000,
|
|
415
|
+
});
|
|
416
|
+
});
|
|
417
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
418
|
+
await navigationPage.goToOptimize();
|
|
419
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagProduction).toBeVisible({
|
|
420
|
+
timeout: 60000,
|
|
421
|
+
});
|
|
422
|
+
});
|
|
423
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
424
|
+
await navigationPage.goToConsole();
|
|
425
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagProduction).toBeVisible({
|
|
426
|
+
timeout: 60000,
|
|
427
|
+
});
|
|
428
|
+
});
|
|
429
|
+
});
|
|
430
|
+
(0, SM_8_10_1.test)('License Valid Non-Commercial One Hundred Years User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
431
|
+
if (process.env.LICENSE_KEY !== 'lic-val-ncom-oneh-years') {
|
|
432
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
433
|
+
}
|
|
434
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
435
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagProduction).toBeVisible({
|
|
436
|
+
timeout: 60000,
|
|
437
|
+
});
|
|
438
|
+
});
|
|
439
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
440
|
+
await navigationPage.goToManagementIdentity();
|
|
441
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagProduction).toBeVisible({
|
|
442
|
+
timeout: 60000,
|
|
443
|
+
});
|
|
444
|
+
});
|
|
445
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
446
|
+
await navigationPage.goToModeler();
|
|
447
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagProduction).toBeVisible({
|
|
448
|
+
timeout: 60000,
|
|
449
|
+
});
|
|
450
|
+
});
|
|
451
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
452
|
+
await navigationPage.goToTasklist();
|
|
453
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagProduction).toBeVisible({
|
|
454
|
+
timeout: 60000,
|
|
455
|
+
});
|
|
456
|
+
});
|
|
457
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
458
|
+
await navigationPage.goToOperate();
|
|
459
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagProduction).toBeVisible({
|
|
460
|
+
timeout: 60000,
|
|
461
|
+
});
|
|
462
|
+
});
|
|
463
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
464
|
+
await navigationPage.goToOptimize();
|
|
465
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagProduction).toBeVisible({
|
|
466
|
+
timeout: 60000,
|
|
467
|
+
});
|
|
468
|
+
});
|
|
469
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
470
|
+
await navigationPage.goToConsole();
|
|
471
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagProduction).toBeVisible({
|
|
472
|
+
timeout: 60000,
|
|
473
|
+
});
|
|
474
|
+
});
|
|
475
|
+
});
|
|
476
|
+
(0, SM_8_10_1.test)('License Valid Non-Commercial Unlimited User Flow', async ({ navigationPage, ocIdentityHomePage, managementIdentityPage, modelerHomePage, taskPanelPage, operateHomePage, optimizeHomePage, consoleHomePage, }) => {
|
|
477
|
+
if (process.env.LICENSE_KEY !== 'lic-val-ncom-unlimited') {
|
|
478
|
+
SM_8_10_1.test.skip(true, 'Skipping test because test environment does not correct license key');
|
|
479
|
+
}
|
|
480
|
+
await SM_8_10_1.test.step('Assert OC Identity License Key Tag', async () => {
|
|
481
|
+
await (0, test_1.expect)(ocIdentityHomePage.licenseKeyTagProduction).toBeVisible({
|
|
482
|
+
timeout: 60000,
|
|
483
|
+
});
|
|
484
|
+
});
|
|
485
|
+
await SM_8_10_1.test.step('Assert Management Identity License Key Tag', async () => {
|
|
486
|
+
await navigationPage.goToManagementIdentity();
|
|
487
|
+
await (0, test_1.expect)(managementIdentityPage.licenseKeyTagProduction).toBeVisible({
|
|
488
|
+
timeout: 60000,
|
|
489
|
+
});
|
|
490
|
+
});
|
|
491
|
+
await SM_8_10_1.test.step('Assert Web Modeler License Key Tag', async () => {
|
|
492
|
+
await navigationPage.goToModeler();
|
|
493
|
+
await (0, test_1.expect)(modelerHomePage.licenseKeyTagProduction).toBeVisible({
|
|
494
|
+
timeout: 60000,
|
|
495
|
+
});
|
|
496
|
+
});
|
|
497
|
+
await SM_8_10_1.test.step('Assert Tasklist License Key Tag', async () => {
|
|
498
|
+
await navigationPage.goToTasklist();
|
|
499
|
+
await (0, test_1.expect)(taskPanelPage.licenseKeyTagProduction).toBeVisible({
|
|
500
|
+
timeout: 60000,
|
|
501
|
+
});
|
|
502
|
+
});
|
|
503
|
+
await SM_8_10_1.test.step('Assert Operate License Key Tag', async () => {
|
|
504
|
+
await navigationPage.goToOperate();
|
|
505
|
+
await (0, test_1.expect)(operateHomePage.licenseKeyTagProduction).toBeVisible({
|
|
506
|
+
timeout: 60000,
|
|
507
|
+
});
|
|
508
|
+
});
|
|
509
|
+
await SM_8_10_1.test.step('Assert Optimize License Key Tag', async () => {
|
|
510
|
+
await navigationPage.goToOptimize();
|
|
511
|
+
await (0, test_1.expect)(optimizeHomePage.licenseKeyTagProduction).toBeVisible({
|
|
512
|
+
timeout: 60000,
|
|
513
|
+
});
|
|
514
|
+
});
|
|
515
|
+
await SM_8_10_1.test.step('Assert Console License Key Tag', async () => {
|
|
516
|
+
await navigationPage.goToConsole();
|
|
517
|
+
await (0, test_1.expect)(consoleHomePage.licenseKeyTagProduction).toBeVisible({
|
|
518
|
+
timeout: 60000,
|
|
519
|
+
});
|
|
520
|
+
});
|
|
521
|
+
});
|
|
522
|
+
});
|
|
523
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const test_1 = require("@playwright/test");
|
|
4
|
+
const _setup_1 = require("../../test-setup.js");
|
|
5
|
+
const SM_8_10_1 = require("../../fixtures/SM-8.10");
|
|
6
|
+
SM_8_10_1.test.describe.configure({ mode: 'parallel' });
|
|
7
|
+
SM_8_10_1.test.describe('Login Tests', () => {
|
|
8
|
+
SM_8_10_1.test.afterEach(async ({ page }, testInfo) => {
|
|
9
|
+
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
10
|
+
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
11
|
+
});
|
|
12
|
+
(0, SM_8_10_1.test)('Management Identity Basic Login', async ({ navigationPage, managementIdentityPage, }) => {
|
|
13
|
+
await navigationPage.goToManagementIdentity();
|
|
14
|
+
await (0, test_1.expect)(managementIdentityPage.identityBanner).toBeVisible({
|
|
15
|
+
timeout: 120000,
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
(0, SM_8_10_1.test)('Orchestration Cluster Identity Basic Login', async ({ navigationPage, ocIdentityHomePage, }) => {
|
|
19
|
+
await navigationPage.goToOCIdentity();
|
|
20
|
+
await (0, test_1.expect)(ocIdentityHomePage.adminBanner).toBeVisible({
|
|
21
|
+
timeout: 120000,
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|