@camunda/e2e-test-suite 0.0.451 → 0.0.453
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/pages/SM-8.10/ClusterPage.js +1 -0
- package/dist/pages/SM-8.10/ManagementIdentityPage.js +4 -3
- package/dist/pages/SM-8.10/ModelerCreatePage.d.ts +1 -0
- package/dist/pages/SM-8.10/ModelerCreatePage.js +48 -20
- package/dist/pages/SM-8.10/NavigationPage.js +29 -17
- package/dist/pages/SM-8.10/OCIdentityHomePage.js +4 -3
- package/dist/pages/SM-8.10/OCTenantPage.js +3 -5
- package/dist/pages/SM-8.10/OperateHomePage.js +4 -2
- package/dist/pages/SM-8.10/OperateProcessesPage.d.ts +1 -0
- package/dist/pages/SM-8.10/OperateProcessesPage.js +18 -23
- package/dist/pages/SM-8.10/TaskPanelPage.js +2 -3
- package/dist/pages/SM-8.8/ModelerCreatePage.d.ts +1 -0
- package/dist/pages/SM-8.8/ModelerCreatePage.js +22 -20
- package/dist/pages/SM-8.8/OCTenantPage.js +3 -5
- package/dist/pages/SM-8.8/OperateHomePage.js +1 -1
- package/dist/pages/SM-8.8/OperateProcessesPage.js +3 -3
- package/dist/pages/SM-8.8/TaskPanelPage.js +2 -2
- package/dist/pages/SM-8.9/ClusterPage.js +1 -0
- package/dist/pages/SM-8.9/ManagementIdentityPage.js +4 -3
- package/dist/pages/SM-8.9/ModelerCreatePage.d.ts +1 -0
- package/dist/pages/SM-8.9/ModelerCreatePage.js +52 -20
- package/dist/pages/SM-8.9/NavigationPage.js +29 -17
- package/dist/pages/SM-8.9/OCIdentityHomePage.js +4 -3
- package/dist/pages/SM-8.9/OCTenantPage.js +3 -5
- package/dist/pages/SM-8.9/OperateHomePage.js +33 -8
- package/dist/pages/SM-8.9/OperateProcessesPage.js +5 -3
- package/dist/pages/SM-8.9/TaskPanelPage.js +2 -3
- package/dist/tests/SM-8.10/connectors-user-flows.spec.js +15 -8
- package/dist/tests/SM-8.10/hto-user-flows.spec.js +7 -6
- package/dist/tests/SM-8.10/mt-enabled-user-flows.spec.js +41 -38
- package/dist/tests/SM-8.10/rba-enabled-user-flows.spec.js +0 -7
- package/dist/tests/SM-8.8/connectors-user-flows.spec.js +14 -6
- package/dist/tests/SM-8.8/migration-path-user-flows.spec.js +3 -3
- package/dist/tests/SM-8.8/mt-enabled-user-flows.spec.js +40 -38
- package/dist/tests/SM-8.9/connectors-user-flows.spec.js +15 -8
- package/dist/tests/SM-8.9/mt-enabled-user-flows.spec.js +40 -38
- package/dist/utils/resetSession.js +4 -2
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const test_1 = require("@playwright/test");
|
|
4
4
|
const SM_8_9_1 = require("../../fixtures/SM-8.9");
|
|
5
5
|
const _setup_1 = require("../../test-setup.js");
|
|
6
|
-
const sleep_1 = require("../../utils/sleep");
|
|
7
6
|
const UtilitiesPage_1 = require("../../pages/SM-8.9/UtilitiesPage");
|
|
8
7
|
const resetSession_1 = require("../../utils/resetSession");
|
|
9
8
|
const expectTextWithRetry_1 = require("../../utils/assertionHelpers/expectTextWithRetry");
|
|
@@ -81,18 +80,16 @@ if (process.env.IS_MT === 'true') {
|
|
|
81
80
|
await SM_8_9_1.test.step('Assert Process has been successfully imported in Optimize', async () => {
|
|
82
81
|
await navigationPage.goToOptimize();
|
|
83
82
|
await optimizeHomePage.clickDashboardLink();
|
|
84
|
-
await (0,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
});
|
|
83
|
+
await (0, test_1.expect)(async () => {
|
|
84
|
+
await page.reload();
|
|
85
|
+
await optimizeDashboardPage.clickFilterTable();
|
|
86
|
+
await optimizeDashboardPage.fillFilterTable(processName);
|
|
87
|
+
await optimizeDashboardPage.processAssertion(processName);
|
|
88
|
+
}).toPass({ timeout: 300000, intervals: [15000] });
|
|
91
89
|
});
|
|
92
90
|
}
|
|
93
91
|
await SM_8_9_1.test.step('Clear cookies and reset session', async () => {
|
|
94
92
|
await (0, resetSession_1.resetSession)(browser, page); //a workaround for https://github.com/camunda/camunda/issues/34513
|
|
95
|
-
await (0, sleep_1.sleep)(10000);
|
|
96
93
|
});
|
|
97
94
|
await SM_8_9_1.test.step('Open Cross Component Test Project', async () => {
|
|
98
95
|
await navigationPage.goToModeler(undefined, credentials);
|
|
@@ -111,10 +108,12 @@ if (process.env.IS_MT === 'true') {
|
|
|
111
108
|
await SM_8_9_1.test.step('Assert "test" user cannot view process in Tasklist, Operate or Optimize', async () => {
|
|
112
109
|
await navigationPage.goToOperate(undefined, credentials);
|
|
113
110
|
await operateHomePage.clickProcessesTab();
|
|
111
|
+
await page.waitForLoadState('networkidle');
|
|
114
112
|
await (0, test_1.expect)(page.getByText(processName)).not.toBeVisible({
|
|
115
113
|
timeout: 60000,
|
|
116
114
|
});
|
|
117
115
|
await navigationPage.goToTasklist(undefined, credentials);
|
|
116
|
+
await page.waitForLoadState('networkidle');
|
|
118
117
|
await (0, test_1.expect)(page.getByText(processName)).not.toBeVisible({
|
|
119
118
|
timeout: 60000,
|
|
120
119
|
});
|
|
@@ -175,11 +174,12 @@ if (process.env.IS_MT === 'true') {
|
|
|
175
174
|
await SM_8_9_1.test.step('Assert Process has been successfully imported in Optimize', async () => {
|
|
176
175
|
await navigationPage.goToOptimize();
|
|
177
176
|
await optimizeHomePage.clickDashboardLink();
|
|
178
|
-
await (0,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
177
|
+
await (0, test_1.expect)(async () => {
|
|
178
|
+
await page.reload();
|
|
179
|
+
await optimizeDashboardPage.clickFilterTable();
|
|
180
|
+
await optimizeDashboardPage.fillFilterTable(processName);
|
|
181
|
+
await optimizeDashboardPage.processAssertion(processName);
|
|
182
|
+
}).toPass({ timeout: 300000, intervals: [15000] });
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
185
|
});
|
|
@@ -214,7 +214,6 @@ if (process.env.IS_MT === 'true') {
|
|
|
214
214
|
});
|
|
215
215
|
await SM_8_9_1.test.step('Clear cookies and reset session', async () => {
|
|
216
216
|
await (0, resetSession_1.resetSession)(browser, page); //a workaround for https://github.com/camunda/camunda/issues/34513
|
|
217
|
-
await (0, sleep_1.sleep)(10000);
|
|
218
217
|
});
|
|
219
218
|
await SM_8_9_1.test.step('Open Cross Component Test Project', async () => {
|
|
220
219
|
await navigationPage.goToModeler(undefined, credentials);
|
|
@@ -248,11 +247,12 @@ if (process.env.IS_MT === 'true') {
|
|
|
248
247
|
await SM_8_9_1.test.step('Assert Process has been successfully imported in Optimize', async () => {
|
|
249
248
|
await navigationPage.goToOptimize(undefined, credentials);
|
|
250
249
|
await optimizeHomePage.clickDashboardLink();
|
|
251
|
-
await (0,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
250
|
+
await (0, test_1.expect)(async () => {
|
|
251
|
+
await page.reload();
|
|
252
|
+
await optimizeDashboardPage.clickFilterTable();
|
|
253
|
+
await optimizeDashboardPage.fillFilterTable(processName);
|
|
254
|
+
await optimizeDashboardPage.processAssertion(processName);
|
|
255
|
+
}).toPass({ timeout: 300000, intervals: [15000] });
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
258
|
});
|
|
@@ -290,7 +290,6 @@ if (process.env.IS_MT === 'true') {
|
|
|
290
290
|
});
|
|
291
291
|
await SM_8_9_1.test.step('Clear cookies and reset session', async () => {
|
|
292
292
|
await (0, resetSession_1.resetSession)(browser, page); //a workaround for https://github.com/camunda/camunda/issues/34513
|
|
293
|
-
await (0, sleep_1.sleep)(10000);
|
|
294
293
|
});
|
|
295
294
|
await SM_8_9_1.test.step('Open Cross Component Test Project', async () => {
|
|
296
295
|
await navigationPage.goToModeler(undefined, credentials);
|
|
@@ -317,11 +316,12 @@ if (process.env.IS_MT === 'true') {
|
|
|
317
316
|
await SM_8_9_1.test.step('Assert Process has been successfully imported in Optimize', async () => {
|
|
318
317
|
await navigationPage.goToOptimize(undefined, credentials);
|
|
319
318
|
await optimizeHomePage.clickDashboardLink();
|
|
320
|
-
await (0,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
319
|
+
await (0, test_1.expect)(async () => {
|
|
320
|
+
await page.reload();
|
|
321
|
+
await optimizeDashboardPage.clickFilterTable();
|
|
322
|
+
await optimizeDashboardPage.fillFilterTable(processName);
|
|
323
|
+
await optimizeDashboardPage.processAssertion(processName);
|
|
324
|
+
}).toPass({ timeout: 300000, intervals: [15000] });
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
327
|
});
|
|
@@ -374,11 +374,12 @@ if (process.env.IS_MT === 'true') {
|
|
|
374
374
|
await SM_8_9_1.test.step('Assert Process has been successfully imported in Optimize', async () => {
|
|
375
375
|
await navigationPage.goToOptimize();
|
|
376
376
|
await optimizeHomePage.clickDashboardLink();
|
|
377
|
-
await (0,
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
377
|
+
await (0, test_1.expect)(async () => {
|
|
378
|
+
await page.reload();
|
|
379
|
+
await optimizeDashboardPage.clickFilterTable();
|
|
380
|
+
await optimizeDashboardPage.fillFilterTable(processName);
|
|
381
|
+
await optimizeDashboardPage.processAssertion(processName);
|
|
382
|
+
}).toPass({ timeout: 300000, intervals: [15000] });
|
|
382
383
|
});
|
|
383
384
|
}
|
|
384
385
|
});
|
|
@@ -514,13 +515,12 @@ if (process.env.IS_MT === 'true') {
|
|
|
514
515
|
await SM_8_9_1.test.step('Assert Process has been successfully imported in Optimize', async () => {
|
|
515
516
|
await navigationPage.goToOptimize();
|
|
516
517
|
await optimizeHomePage.clickDashboardLink();
|
|
517
|
-
await (0,
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
});
|
|
518
|
+
await (0, test_1.expect)(async () => {
|
|
519
|
+
await page.reload();
|
|
520
|
+
await optimizeDashboardPage.clickFilterTable();
|
|
521
|
+
await optimizeDashboardPage.fillFilterTable(processName1);
|
|
522
|
+
await optimizeDashboardPage.processAssertion(processName1);
|
|
523
|
+
}).toPass({ timeout: 300000, intervals: [15000] });
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
526
|
await SM_8_9_1.test.step('Delete Tenant Access For Demo User OC', async () => {
|
|
@@ -554,6 +554,7 @@ if (process.env.IS_MT === 'true') {
|
|
|
554
554
|
await SM_8_9_1.test.step('Assert "demo" user cannot view process in Tasklist, Operate or Optimize', async () => {
|
|
555
555
|
await navigationPage.goToOperate();
|
|
556
556
|
await operateHomePage.clickProcessesTab();
|
|
557
|
+
await page.waitForLoadState('networkidle');
|
|
557
558
|
await (0, test_1.expect)(page.getByText(processName1)).not.toBeVisible({
|
|
558
559
|
timeout: 60000,
|
|
559
560
|
});
|
|
@@ -561,6 +562,7 @@ if (process.env.IS_MT === 'true') {
|
|
|
561
562
|
timeout: 60000,
|
|
562
563
|
});
|
|
563
564
|
await navigationPage.goToTasklist();
|
|
565
|
+
await page.waitForLoadState('networkidle');
|
|
564
566
|
await (0, test_1.expect)(page.getByText(processName1)).not.toBeVisible({
|
|
565
567
|
timeout: 60000,
|
|
566
568
|
});
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resetSessionAll = exports.resetSession = void 0;
|
|
4
|
-
const sleep_1 = require("./sleep");
|
|
5
4
|
async function resetSession(browser, page) {
|
|
6
5
|
const context = browser.contexts()[0];
|
|
7
6
|
await context.clearCookies();
|
|
8
|
-
await
|
|
7
|
+
await page.evaluate(() => {
|
|
8
|
+
localStorage.clear();
|
|
9
|
+
sessionStorage.clear();
|
|
10
|
+
});
|
|
9
11
|
await page.reload();
|
|
10
12
|
await page.goto('/');
|
|
11
13
|
}
|