@camunda/e2e-test-suite 0.0.1497 → 0.0.1498
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.
|
@@ -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 = '') {
|