@camunda/e2e-test-suite 0.0.848 → 0.0.850
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.
|
@@ -23,6 +23,7 @@ declare class OCIdentityRolesPage {
|
|
|
23
23
|
readonly assignUserButton: Locator;
|
|
24
24
|
readonly usernameTextBox: Locator;
|
|
25
25
|
readonly assignUserSubButton: Locator;
|
|
26
|
+
readonly assignUserModal: Locator;
|
|
26
27
|
readonly adminRole: Locator;
|
|
27
28
|
readonly clientsTab: Locator;
|
|
28
29
|
readonly assignClientsButton: Locator;
|
|
@@ -29,6 +29,7 @@ class OCIdentityRolesPage {
|
|
|
29
29
|
assignUserButton;
|
|
30
30
|
usernameTextBox;
|
|
31
31
|
assignUserSubButton;
|
|
32
|
+
assignUserModal;
|
|
32
33
|
adminRole;
|
|
33
34
|
clientsTab;
|
|
34
35
|
assignClientsButton;
|
|
@@ -86,6 +87,7 @@ class OCIdentityRolesPage {
|
|
|
86
87
|
this.assignUserSubButton = page
|
|
87
88
|
.getByLabel('Assign user')
|
|
88
89
|
.getByRole('button', { name: 'Assign user' });
|
|
90
|
+
this.assignUserModal = page.getByRole('dialog', { name: 'Assign user' });
|
|
89
91
|
this.adminRole = page.getByRole('cell', { name: 'admin', exact: true });
|
|
90
92
|
this.clientsTab = page.getByRole('tab', { name: 'Clients' });
|
|
91
93
|
this.assignClientsButton = page.getByRole('button', {
|
|
@@ -176,6 +178,7 @@ class OCIdentityRolesPage {
|
|
|
176
178
|
}
|
|
177
179
|
async clickAssignUserSubButton() {
|
|
178
180
|
await this.assignUserSubButton.click();
|
|
181
|
+
await (0, test_1.expect)(this.assignUserModal).not.toBeVisible({ timeout: 30000 });
|
|
179
182
|
}
|
|
180
183
|
async clickAdminRole() {
|
|
181
184
|
// The Roles list is occasionally empty on first render after the Roles
|
|
@@ -16,8 +16,7 @@ SM_8_10_1.test.describe('HTO User Flow Tests', () => {
|
|
|
16
16
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
17
17
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
18
18
|
});
|
|
19
|
-
|
|
20
|
-
SM_8_10_1.test.skip('Job Worker User Task Most Common Flow @tasklistV1', async ({ modelerHomePage, navigationPage, modelerCreatePage, operateHomePage, operateProcessesPage, taskDetailsPage, taskPanelPage, operateProcessInstancePage, page, }) => {
|
|
19
|
+
(0, SM_8_10_1.test)('Job Worker User Task Most Common Flow @tasklistV1', async ({ modelerHomePage, navigationPage, modelerCreatePage, operateHomePage, operateProcessesPage, taskDetailsPage, taskPanelPage, operateProcessInstancePage, page, }) => {
|
|
21
20
|
SM_8_10_1.test.slow();
|
|
22
21
|
const processName = 'User_Task_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
23
22
|
await SM_8_10_1.test.step('Open Cross Component Test Project and Create a BPMN Diagram Template', async () => {
|
|
@@ -43,8 +42,7 @@ SM_8_10_1.test.describe('HTO User Flow Tests', () => {
|
|
|
43
42
|
});
|
|
44
43
|
await navigationPage.goToOperate();
|
|
45
44
|
await operateHomePage.clickProcessesTab();
|
|
46
|
-
await operateProcessesPage.
|
|
47
|
-
await operateProcessesPage.clickProcessInstanceLink(processName);
|
|
45
|
+
await operateProcessesPage.clickProcessInstanceLink(processName, 'completed');
|
|
48
46
|
await operateProcessInstancePage.completedIconAssertion();
|
|
49
47
|
});
|
|
50
48
|
});
|
|
@@ -16,8 +16,7 @@ SM_8_9_1.test.describe('HTO User Flow Tests', () => {
|
|
|
16
16
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
17
17
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
18
18
|
});
|
|
19
|
-
|
|
20
|
-
SM_8_9_1.test.skip('Job Worker User Task Most Common Flow @tasklistV1', async ({ modelerHomePage, navigationPage, modelerCreatePage, operateHomePage, operateProcessesPage, taskDetailsPage, taskPanelPage, operateProcessInstancePage, page, }) => {
|
|
19
|
+
(0, SM_8_9_1.test)('Job Worker User Task Most Common Flow @tasklistV1', async ({ modelerHomePage, navigationPage, modelerCreatePage, operateHomePage, operateProcessesPage, taskDetailsPage, taskPanelPage, operateProcessInstancePage, page, }) => {
|
|
21
20
|
SM_8_9_1.test.slow();
|
|
22
21
|
const processName = 'User_Task_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
23
22
|
await SM_8_9_1.test.step('Open Cross Component Test Project and Create a BPMN Diagram Template', async () => {
|
|
@@ -43,8 +42,7 @@ SM_8_9_1.test.describe('HTO User Flow Tests', () => {
|
|
|
43
42
|
});
|
|
44
43
|
await navigationPage.goToOperate();
|
|
45
44
|
await operateHomePage.clickProcessesTab();
|
|
46
|
-
await operateProcessesPage.
|
|
47
|
-
await operateProcessesPage.clickProcessInstanceLink(processName);
|
|
45
|
+
await operateProcessesPage.clickProcessInstanceLink(processName, 'completed');
|
|
48
46
|
await operateProcessInstancePage.completedIconAssertion();
|
|
49
47
|
});
|
|
50
48
|
});
|