@camunda/e2e-test-suite 0.0.368 → 0.0.370
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/IdentityTenantPage.js +1 -1
- package/dist/pages/SM-8.10/ManagementIdentityPage.js +1 -1
- package/dist/pages/SM-8.8/UtilitiesPage.js +2 -2
- package/dist/tests/SM-8.10/mt-enabled-user-flows.spec.js +3 -1
- package/dist/tests/SM-8.8/hto-user-flows.spec.js +2 -2
- package/package.json +1 -1
|
@@ -110,7 +110,7 @@ class IdentityTenantPage {
|
|
|
110
110
|
try {
|
|
111
111
|
await (0, test_1.expect)(this.assignUserFinalButton).toBeVisible({ timeout: 60000 });
|
|
112
112
|
await this.assignUserFinalButton.click();
|
|
113
|
-
await (0, test_1.expect)(this.page.getByText('Users assigned')).toBeVisible();
|
|
113
|
+
await (0, test_1.expect)(this.page.getByText('Users assigned', { exact: true })).toBeVisible();
|
|
114
114
|
}
|
|
115
115
|
catch (e) {
|
|
116
116
|
if (await this.page.getByText('ALREADY_EXISTS').first().isVisible()) {
|
|
@@ -80,7 +80,7 @@ class ManagementIdentityPage {
|
|
|
80
80
|
}
|
|
81
81
|
async clickUser(username) {
|
|
82
82
|
const searchbox = this.page.getByRole('searchbox');
|
|
83
|
-
await searchbox.click();
|
|
83
|
+
await searchbox.click({ timeout: 30000 });
|
|
84
84
|
await searchbox.fill(username);
|
|
85
85
|
const user = this.page.getByRole('cell', { name: username, exact: true });
|
|
86
86
|
await (0, test_1.expect)(user).toBeVisible({ timeout: 60000 });
|
|
@@ -112,13 +112,13 @@ async function modelRestConnector(modelerCreatePage, connectorSettingsPage, conn
|
|
|
112
112
|
timeout: 120000,
|
|
113
113
|
});
|
|
114
114
|
await modelerCreatePage.enterDiagramName(processName);
|
|
115
|
-
await (0, sleep_1.sleep)(
|
|
115
|
+
await (0, sleep_1.sleep)(5000);
|
|
116
116
|
await modelerCreatePage.clickCanvas();
|
|
117
117
|
await modelerCreatePage.clickGeneralPropertiesPanel();
|
|
118
118
|
await modelerCreatePage.clickIdInput();
|
|
119
119
|
await modelerCreatePage.fillIdInput(processName);
|
|
120
120
|
await modelerCreatePage.assertNameInput(processName);
|
|
121
|
-
await (0, sleep_1.sleep)(
|
|
121
|
+
await (0, sleep_1.sleep)(5000);
|
|
122
122
|
await modelerCreatePage.clickStartEventElement();
|
|
123
123
|
try {
|
|
124
124
|
await (0, test_1.expect)(modelerCreatePage.appendElementButton).toBeVisible({
|
|
@@ -85,7 +85,9 @@ if (process.env.IS_MT === 'true') {
|
|
|
85
85
|
await page.reload();
|
|
86
86
|
await optimizeDashboardPage.clickFilterTable();
|
|
87
87
|
await optimizeDashboardPage.fillFilterTable(processName);
|
|
88
|
-
await optimizeDashboardPage.processAssertion(processName
|
|
88
|
+
await optimizeDashboardPage.processAssertion(processName, {
|
|
89
|
+
timeout: 250000,
|
|
90
|
+
});
|
|
89
91
|
});
|
|
90
92
|
}
|
|
91
93
|
await SM_8_10_1.test.step('Clear cookies and reset session', async () => {
|
|
@@ -62,7 +62,7 @@ SM_8_8_1.test.describe('HTO User Flow Tests', () => {
|
|
|
62
62
|
timeout: 120000,
|
|
63
63
|
});
|
|
64
64
|
await modelerCreatePage.enterDiagramName(processName);
|
|
65
|
-
await (0, sleep_1.sleep)(
|
|
65
|
+
await (0, sleep_1.sleep)(5000);
|
|
66
66
|
await modelerCreatePage.clickCanvas();
|
|
67
67
|
await modelerCreatePage.clickGeneralPropertiesPanel();
|
|
68
68
|
await modelerCreatePage.clickIdInput();
|
|
@@ -100,7 +100,7 @@ SM_8_8_1.test.describe('HTO User Flow Tests', () => {
|
|
|
100
100
|
});
|
|
101
101
|
await taskDetailsPage.taskAssertion(processName);
|
|
102
102
|
await taskDetailsPage.priorityAssertion('critical');
|
|
103
|
-
await (0, sleep_1.sleep)(
|
|
103
|
+
await (0, sleep_1.sleep)(10000);
|
|
104
104
|
await navigationPage.goToOperate();
|
|
105
105
|
await operateHomePage.clickProcessesTab();
|
|
106
106
|
await operateProcessesPage.clickProcessInstanceLink(processName, 'completed');
|