@camunda/e2e-test-suite 0.0.839 → 0.0.841
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.
|
@@ -193,16 +193,12 @@ _8_9_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
|
|
|
193
193
|
await ocIdentityAuthorizationsPage.clickRoleTab();
|
|
194
194
|
await ocIdentityAuthorizationsPage.createAuthorization((0, roleAuthorizations_1.roleAllAuthorization)(role1));
|
|
195
195
|
});
|
|
196
|
-
await _8_9_1.test.step('
|
|
197
|
-
await
|
|
198
|
-
await
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
await page.goto('/');
|
|
203
|
-
});
|
|
204
|
-
await _8_9_1.test.step('Login as Test User', async () => {
|
|
205
|
-
await loginPage.loginWithTestUser(testUser);
|
|
196
|
+
await _8_9_1.test.step('Log out and log in as Test User', async () => {
|
|
197
|
+
await appsPage.clickCamundaApps();
|
|
198
|
+
await appsPage.clickConsoleLink();
|
|
199
|
+
await settingsPage.clickOpenSettingsButton();
|
|
200
|
+
await settingsPage.clickLogoutButton();
|
|
201
|
+
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, 1000);
|
|
206
202
|
});
|
|
207
203
|
await _8_9_1.test.step('Navigate to Web Modeler', async () => {
|
|
208
204
|
await appsPage.clickCamundaApps();
|
|
@@ -234,13 +230,9 @@ _8_9_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV1', () => {
|
|
|
234
230
|
await (0, sleep_1.sleep)(20000);
|
|
235
231
|
});
|
|
236
232
|
await _8_9_1.test.step('Login as Test User', async () => {
|
|
237
|
-
await
|
|
238
|
-
await
|
|
239
|
-
|
|
240
|
-
sessionStorage.clear();
|
|
241
|
-
});
|
|
242
|
-
await page.goto('/');
|
|
243
|
-
await loginPage.loginWithTestUser(testUser);
|
|
233
|
+
await settingsPage.clickOpenSettingsButton();
|
|
234
|
+
await settingsPage.clickLogoutButton();
|
|
235
|
+
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, 1000);
|
|
244
236
|
});
|
|
245
237
|
await _8_9_1.test.step('Navigate to Tasklist and Both Processes Are Accessible', async () => {
|
|
246
238
|
await appsPage.clickCamundaApps();
|
|
@@ -175,17 +175,6 @@ SM_8_9_1.test.describe('Web Modeler User Flow Tests', () => {
|
|
|
175
175
|
await operateProcessInstancePage.assertProcessVariableContainsText('myVar', '8');
|
|
176
176
|
});
|
|
177
177
|
if (process.env.IS_OPTIMIZE !== 'false') {
|
|
178
|
-
await SM_8_9_1.test.step('Navigate to Optimize and verify process in dashboard', async () => {
|
|
179
|
-
await navigationPage.goToOptimize();
|
|
180
|
-
await optimizeHomePage.clickDashboardLink();
|
|
181
|
-
await (0, sleep_1.sleep)(3000); // Brief wait for Optimize dashboard to initialize
|
|
182
|
-
await page.reload();
|
|
183
|
-
await optimizeDashboardPage.clickFilterTable();
|
|
184
|
-
await optimizeDashboardPage.fillFilterTable(processName);
|
|
185
|
-
await optimizeDashboardPage.processAssertion(processName, {
|
|
186
|
-
timeout: 60000,
|
|
187
|
-
});
|
|
188
|
-
});
|
|
189
178
|
await SM_8_9_1.test.step('Navigate to Optimize and verify process appears in dashboard (CE-OPT-01)', async () => {
|
|
190
179
|
await navigationPage.goToOptimize();
|
|
191
180
|
await optimizeHomePage.clickDashboardLink();
|