@camunda/e2e-test-suite 0.0.174 → 0.0.176
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.Authorization = void 0;
|
|
4
4
|
const test_1 = require("@playwright/test");
|
|
5
5
|
const UtilitiesPage_1 = require("../SM-8.9/UtilitiesPage");
|
|
6
|
+
const sleep_1 = require("../../utils/sleep");
|
|
6
7
|
class Authorization {
|
|
7
8
|
page;
|
|
8
9
|
selectResourceTypeTab;
|
|
@@ -95,6 +96,7 @@ class Authorization {
|
|
|
95
96
|
await this.createAuthorizationResourceTypeOption(authorization.resourceType).click({ timeout: 30000 });
|
|
96
97
|
await this.createAuthorizationResourceIdField.fill(authorization.resourceId);
|
|
97
98
|
for (const permission of authorization.accessPermissions) {
|
|
99
|
+
await (0, sleep_1.sleep)(200);
|
|
98
100
|
await (0, test_1.expect)(await this.createAuthorizationAccessPermission(permission)).toBeVisible();
|
|
99
101
|
if (!(await this.createAuthorizationAccessPermission(permission).isChecked())) {
|
|
100
102
|
await this.createAuthorizationAccessPermission(permission).click({
|
|
@@ -36,8 +36,9 @@ class NavigationPage {
|
|
|
36
36
|
this.optimizePageBanner = page.getByRole('link', {
|
|
37
37
|
name: 'Camunda logo Optimize',
|
|
38
38
|
});
|
|
39
|
+
// TODO: Drop support for Identity once we fully rename it to Admin
|
|
39
40
|
this.identityPageBanner = page.getByRole('link', {
|
|
40
|
-
name:
|
|
41
|
+
name: /Camunda logo (Identity|Admin)/,
|
|
41
42
|
});
|
|
42
43
|
this.consolePageBanner = page.getByRole('link', {
|
|
43
44
|
name: 'Camunda logo Console',
|