@camunda/e2e-test-suite 0.0.1497 → 0.0.1499
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.
|
@@ -1537,7 +1537,7 @@ class ModelerCreatePage {
|
|
|
1537
1537
|
});
|
|
1538
1538
|
const popup = this.page.locator('.djs-popup');
|
|
1539
1539
|
await popup
|
|
1540
|
-
.getByRole('option', { name:
|
|
1540
|
+
.getByRole('option', { name: /^(?:AI Agent Sub-process: )?OpenAI API$/ })
|
|
1541
1541
|
.click({ timeout: 30000 });
|
|
1542
1542
|
await (0, test_1.expect)(popup).toBeHidden({ timeout: 30000 });
|
|
1543
1543
|
await (0, test_1.expect)(this.page
|
|
@@ -225,6 +225,9 @@ class OCIdentityRolesPage {
|
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
await this.assignMappingModalAssignRuleButton.click({ timeout: 30000 });
|
|
228
|
+
// The modal closes only once the assign request succeeds; returning
|
|
229
|
+
// before that lets the caller's reload abort the in-flight PUT.
|
|
230
|
+
await (0, test_1.expect)(this.assignMappingModal).toBeHidden({ timeout: 30000 });
|
|
228
231
|
return;
|
|
229
232
|
}
|
|
230
233
|
catch (error) {
|
|
@@ -54,7 +54,10 @@ async function assignMappingToRole(page, ocIdentityHomePage, ocIdentityRolesPage
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
await ocIdentityRolesPage.assignMappingRuleToRole(role, mappingRuleId);
|
|
57
|
-
|
|
57
|
+
// The role's mapping rules table pages at 10 rows and the design-system
|
|
58
|
+
// DataTable labels its forward control "Next", which only the
|
|
59
|
+
// findLocatorWithPagination-based helper recognises.
|
|
60
|
+
await (0, expectLocatorWithPagination_1.expectLocatorWithPagination)(page, ocIdentityRolesPage.mappingRuleRow(mappingRuleId).first(), { maxRetries: 6 });
|
|
58
61
|
}
|
|
59
62
|
exports.assignMappingToRole = assignMappingToRole;
|
|
60
63
|
async function createAndRunProcess(page, modelerHomePage, modelerCreatePage, processName, processId = '', tenant = '') {
|
|
@@ -1404,7 +1404,7 @@ class ModelerCreatePage {
|
|
|
1404
1404
|
});
|
|
1405
1405
|
const popup = this.page.locator('.djs-popup');
|
|
1406
1406
|
await popup
|
|
1407
|
-
.getByRole('option', { name:
|
|
1407
|
+
.getByRole('option', { name: /^(?:AI Agent Sub-process: )?OpenAI API$/ })
|
|
1408
1408
|
.click({ timeout: 30000 });
|
|
1409
1409
|
await (0, test_1.expect)(popup).toBeHidden({ timeout: 30000 });
|
|
1410
1410
|
await (0, test_1.expect)(this.page
|