@camunda/e2e-test-suite 0.0.108 → 0.0.109
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.
|
@@ -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.8/UtilitiesPage");
|
|
6
|
+
const expectLocatorWithPagination_1 = require("../../utils/assertionHelpers/expectLocatorWithPagination");
|
|
6
7
|
class OCIdentityRolesPage {
|
|
7
8
|
page;
|
|
8
9
|
selectResourceTypeTab;
|
|
@@ -124,11 +125,11 @@ class OCIdentityRolesPage {
|
|
|
124
125
|
await this.createNameField.fill(role.name);
|
|
125
126
|
await this.createRoleModalCreateButton.click();
|
|
126
127
|
await (0, test_1.expect)(this.createRoleModal).not.toBeVisible();
|
|
127
|
-
await (0,
|
|
128
|
+
await (0, expectLocatorWithPagination_1.expectLocatorWithPagination)(this.page, this.rolesList
|
|
128
129
|
.getByRole('cell', {
|
|
129
130
|
name: role.name,
|
|
130
131
|
})
|
|
131
|
-
.first()
|
|
132
|
+
.first());
|
|
132
133
|
}
|
|
133
134
|
async deleteRole(name, options) {
|
|
134
135
|
const { throwError = true } = options || {};
|