@camunda/e2e-test-suite 0.0.706 → 0.0.707
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.
|
@@ -94,7 +94,8 @@ class OCIdentityMappingRulesPage {
|
|
|
94
94
|
await this.filterTable(rule);
|
|
95
95
|
await (0, sleep_1.sleep)(3000);
|
|
96
96
|
const deleteButtons = this.page.getByRole('button', {
|
|
97
|
-
name: '
|
|
97
|
+
name: 'Delete',
|
|
98
|
+
exact: true,
|
|
98
99
|
});
|
|
99
100
|
(0, test_1.expect)(await deleteButtons.count()).toEqual(1);
|
|
100
101
|
await deleteButtons.first().click({ timeout: 60000 });
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OCIdentityRolesPage = void 0;
|
|
4
4
|
const test_1 = require("@playwright/test");
|
|
5
5
|
const UtilitiesPage_1 = require("../SM-8.10/UtilitiesPage");
|
|
6
|
+
const expectLocatorWithPagination_1 = require("../../utils/assertionHelpers/expectLocatorWithPagination");
|
|
6
7
|
const sleep_1 = require("../../utils/sleep");
|
|
7
8
|
class OCIdentityRolesPage {
|
|
8
9
|
page;
|
|
@@ -152,11 +153,11 @@ class OCIdentityRolesPage {
|
|
|
152
153
|
await this.createNameField.fill(role.name);
|
|
153
154
|
await this.createRoleModalCreateButton.click();
|
|
154
155
|
await (0, test_1.expect)(this.createRoleModal).not.toBeVisible();
|
|
155
|
-
await (0,
|
|
156
|
+
await (0, expectLocatorWithPagination_1.expectLocatorWithPagination)(this.page, this.rolesList
|
|
156
157
|
.getByRole('cell', {
|
|
157
158
|
name: role.name,
|
|
158
159
|
})
|
|
159
|
-
.first(),
|
|
160
|
+
.first(), { maxRetries: 10 });
|
|
160
161
|
}
|
|
161
162
|
async deleteRole(name, options) {
|
|
162
163
|
const { throwError = true } = options || {};
|