@camunda/e2e-test-suite 0.0.1328 → 0.0.1330
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.
- package/.github/c8_versions.json +1 -0
- package/README.md +1 -0
- package/dist/fixtures/8.11.d.ts +83 -0
- package/dist/fixtures/8.11.js +203 -0
- package/dist/pages/8.11/AppsPage.d.ts +60 -0
- package/dist/pages/8.11/AppsPage.js +1060 -0
- package/dist/pages/8.11/AuditLogPage.d.ts +14 -0
- package/dist/pages/8.11/AuditLogPage.js +69 -0
- package/dist/pages/8.11/Authorization.d.ts +44 -0
- package/dist/pages/8.11/Authorization.js +409 -0
- package/dist/pages/8.11/ClientCredentialsDetailsPage.d.ts +12 -0
- package/dist/pages/8.11/ClientCredentialsDetailsPage.js +36 -0
- package/dist/pages/8.11/ClusterDetailsPage.d.ts +107 -0
- package/dist/pages/8.11/ClusterDetailsPage.js +892 -0
- package/dist/pages/8.11/ClusterPage.d.ts +96 -0
- package/dist/pages/8.11/ClusterPage.js +657 -0
- package/dist/pages/8.11/ClusterSecretsPage.d.ts +48 -0
- package/dist/pages/8.11/ClusterSecretsPage.js +406 -0
- package/dist/pages/8.11/ConnectorMarketplacePage.d.ts +29 -0
- package/dist/pages/8.11/ConnectorMarketplacePage.js +156 -0
- package/dist/pages/8.11/ConnectorSettingsPage.d.ts +39 -0
- package/dist/pages/8.11/ConnectorSettingsPage.js +150 -0
- package/dist/pages/8.11/ConnectorTemplatePage.d.ts +11 -0
- package/dist/pages/8.11/ConnectorTemplatePage.js +34 -0
- package/dist/pages/8.11/ConsoleOrganizationPage.d.ts +77 -0
- package/dist/pages/8.11/ConsoleOrganizationPage.js +457 -0
- package/dist/pages/8.11/DataFiltersPage.d.ts +30 -0
- package/dist/pages/8.11/DataFiltersPage.js +135 -0
- package/dist/pages/8.11/FormJsPage.d.ts +38 -0
- package/dist/pages/8.11/FormJsPage.js +283 -0
- package/dist/pages/8.11/HomePage.d.ts +29 -0
- package/dist/pages/8.11/HomePage.js +176 -0
- package/dist/pages/8.11/IdpCreatePage.d.ts +118 -0
- package/dist/pages/8.11/IdpCreatePage.js +514 -0
- package/dist/pages/8.11/LoginPage.d.ts +45 -0
- package/dist/pages/8.11/LoginPage.js +214 -0
- package/dist/pages/8.11/ModelerCreatePage.d.ts +256 -0
- package/dist/pages/8.11/ModelerCreatePage.js +2272 -0
- package/dist/pages/8.11/ModelerHomePage.d.ts +100 -0
- package/dist/pages/8.11/ModelerHomePage.js +1168 -0
- package/dist/pages/8.11/ModelerUserInvitePage.d.ts +29 -0
- package/dist/pages/8.11/ModelerUserInvitePage.js +136 -0
- package/dist/pages/8.11/OCIdentityAuthorizationsPage.d.ts +11 -0
- package/dist/pages/8.11/OCIdentityAuthorizationsPage.js +25 -0
- package/dist/pages/8.11/OCIdentityClusterVariablesPage.d.ts +21 -0
- package/dist/pages/8.11/OCIdentityClusterVariablesPage.js +128 -0
- package/dist/pages/8.11/OCIdentityGroupsPage.d.ts +38 -0
- package/dist/pages/8.11/OCIdentityGroupsPage.js +176 -0
- package/dist/pages/8.11/OCIdentityHomePage.d.ts +21 -0
- package/dist/pages/8.11/OCIdentityHomePage.js +111 -0
- package/dist/pages/8.11/OCIdentityMappingRulesPage.d.ts +23 -0
- package/dist/pages/8.11/OCIdentityMappingRulesPage.js +124 -0
- package/dist/pages/8.11/OCIdentityRolesPage.d.ts +43 -0
- package/dist/pages/8.11/OCIdentityRolesPage.js +236 -0
- package/dist/pages/8.11/OperateHomePage.d.ts +28 -0
- package/dist/pages/8.11/OperateHomePage.js +150 -0
- package/dist/pages/8.11/OperateProcessInstancePage.d.ts +43 -0
- package/dist/pages/8.11/OperateProcessInstancePage.js +893 -0
- package/dist/pages/8.11/OperateProcessesPage.d.ts +28 -0
- package/dist/pages/8.11/OperateProcessesPage.js +153 -0
- package/dist/pages/8.11/OptimizeCollectionsPage.d.ts +30 -0
- package/dist/pages/8.11/OptimizeCollectionsPage.js +175 -0
- package/dist/pages/8.11/OptimizeDashboardPage.d.ts +11 -0
- package/dist/pages/8.11/OptimizeDashboardPage.js +71 -0
- package/dist/pages/8.11/OptimizeHomePage.d.ts +17 -0
- package/dist/pages/8.11/OptimizeHomePage.js +171 -0
- package/dist/pages/8.11/OptimizeReportPage.d.ts +49 -0
- package/dist/pages/8.11/OptimizeReportPage.js +184 -0
- package/dist/pages/8.11/OptimizeSharePage.d.ts +16 -0
- package/dist/pages/8.11/OptimizeSharePage.js +100 -0
- package/dist/pages/8.11/PlayPage.d.ts +17 -0
- package/dist/pages/8.11/PlayPage.js +157 -0
- package/dist/pages/8.11/ProcessApplicationPage.d.ts +32 -0
- package/dist/pages/8.11/ProcessApplicationPage.js +496 -0
- package/dist/pages/8.11/SettingsPage.d.ts +10 -0
- package/dist/pages/8.11/SettingsPage.js +53 -0
- package/dist/pages/8.11/SignUpPage.d.ts +42 -0
- package/dist/pages/8.11/SignUpPage.js +134 -0
- package/dist/pages/8.11/TaskDetailsPage.d.ts +77 -0
- package/dist/pages/8.11/TaskDetailsPage.js +324 -0
- package/dist/pages/8.11/TaskPanelPage.d.ts +26 -0
- package/dist/pages/8.11/TaskPanelPage.js +245 -0
- package/dist/pages/8.11/TaskProcessesPage.d.ts +18 -0
- package/dist/pages/8.11/TaskProcessesPage.js +134 -0
- package/dist/pages/8.11/UtilitiesPage.d.ts +56 -0
- package/dist/pages/8.11/UtilitiesPage.js +1024 -0
- package/dist/pages/8.11/WorkspaceMembersPage.d.ts +21 -0
- package/dist/pages/8.11/WorkspaceMembersPage.js +268 -0
- package/dist/tests/8.11/access-user-role-management.spec.d.ts +1 -0
- package/dist/tests/8.11/access-user-role-management.spec.js +487 -0
- package/dist/tests/8.11/agentic-ai-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/agentic-ai-user-flows.spec.js +209 -0
- package/dist/tests/8.11/aws-cluster-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/aws-cluster-user-flows.spec.js +188 -0
- package/dist/tests/8.11/aws-connectors-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/aws-connectors-user-flows.spec.js +167 -0
- package/dist/tests/8.11/cluster-variables.spec.d.ts +1 -0
- package/dist/tests/8.11/cluster-variables.spec.js +202 -0
- package/dist/tests/8.11/connectors-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/connectors-user-flows.spec.js +537 -0
- package/dist/tests/8.11/console-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/console-user-flows.spec.js +199 -0
- package/dist/tests/8.11/hto-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/hto-user-flows.spec.js +358 -0
- package/dist/tests/8.11/idp-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/idp-user-flows.spec.js +316 -0
- package/dist/tests/8.11/login-negative-tests.spec.d.ts +1 -0
- package/dist/tests/8.11/login-negative-tests.spec.js +29 -0
- package/dist/tests/8.11/login.spec.d.ts +1 -0
- package/dist/tests/8.11/login.spec.js +29 -0
- package/dist/tests/8.11/navigation.spec.d.ts +1 -0
- package/dist/tests/8.11/navigation.spec.js +59 -0
- package/dist/tests/8.11/operate-access-flow.spec.d.ts +1 -0
- package/dist/tests/8.11/operate-access-flow.spec.js +136 -0
- package/dist/tests/8.11/optimize-agentic-control-panel-api.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-agentic-control-panel-api.spec.js +96 -0
- package/dist/tests/8.11/optimize-agentic-control-panel-ui.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-agentic-control-panel-ui.spec.js +69 -0
- package/dist/tests/8.11/optimize-api-tests.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-api-tests.spec.js +1194 -0
- package/dist/tests/8.11/optimize-collections-api.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-collections-api.spec.js +184 -0
- package/dist/tests/8.11/optimize-collections-ui.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-collections-ui.spec.js +46 -0
- package/dist/tests/8.11/optimize-data-filters-api.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-data-filters-api.spec.js +195 -0
- package/dist/tests/8.11/optimize-data-filters-ui.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-data-filters-ui.spec.js +306 -0
- package/dist/tests/8.11/optimize-exporter-filters-importer-e2e.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-exporter-filters-importer-e2e.spec.js +316 -0
- package/dist/tests/8.11/optimize-sharing-alerts-export-api.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-sharing-alerts-export-api.spec.js +337 -0
- package/dist/tests/8.11/optimize-sharing-alerts-export-ui.spec.d.ts +1 -0
- package/dist/tests/8.11/optimize-sharing-alerts-export-ui.spec.js +198 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-audit-log.spec.d.ts +1 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-audit-log.spec.js +146 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-call-tools.spec.d.ts +1 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-call-tools.spec.js +208 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-e2e-flow.spec.d.ts +1 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-e2e-flow.spec.js +151 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-list-tools.spec.d.ts +1 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-list-tools.spec.js +242 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.d.ts +1 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.js +75 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-incident-tools.spec.d.ts +1 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-incident-tools.spec.js +123 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.d.ts +1 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.js +151 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-variable-tools.spec.d.ts +1 -0
- package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-variable-tools.spec.js +123 -0
- package/dist/tests/8.11/play.spec.d.ts +1 -0
- package/dist/tests/8.11/play.spec.js +93 -0
- package/dist/tests/8.11/rba-enabled-v2-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/rba-enabled-v2-user-flows.spec.js +495 -0
- package/dist/tests/8.11/saas-migration-path-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/saas-migration-path-user-flows.spec.js +133 -0
- package/dist/tests/8.11/smoke-tests.spec.d.ts +1 -0
- package/dist/tests/8.11/smoke-tests.spec.js +339 -0
- package/dist/tests/8.11/test-setup.spec.d.ts +1 -0
- package/dist/tests/8.11/test-setup.spec.js +256 -0
- package/dist/tests/8.11/web-modeler-user-flows.spec.d.ts +1 -0
- package/dist/tests/8.11/web-modeler-user-flows.spec.js +523 -0
- package/dist/utils/clusterVersions.d.ts +2 -1
- package/dist/utils/clusterVersions.js +1 -0
- package/dist/utils/consoleApiHelpers.js +1 -0
- package/package.json +1 -1
- package/playwright.config.ts +10 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Page, Locator } from '@playwright/test';
|
|
2
|
+
declare class ModelerUserInvitePage {
|
|
3
|
+
private page;
|
|
4
|
+
readonly buttonAddUser: Locator;
|
|
5
|
+
readonly inputFieldUserEmailAddress: Locator;
|
|
6
|
+
readonly buttonSendInvitation: Locator;
|
|
7
|
+
readonly pendingInviteText: Locator;
|
|
8
|
+
readonly settings: Locator;
|
|
9
|
+
readonly logout: Locator;
|
|
10
|
+
readonly buttonSkipCustomization: Locator;
|
|
11
|
+
readonly buttonCloseHelpCentre: Locator;
|
|
12
|
+
readonly collaboratorName: Locator;
|
|
13
|
+
readonly inviteModal: Locator;
|
|
14
|
+
readonly collaboratorEmail: (email: string) => Locator;
|
|
15
|
+
constructor(page: Page);
|
|
16
|
+
clickAddUser(): Promise<void>;
|
|
17
|
+
clickUserEmailInput(): Promise<void>;
|
|
18
|
+
fillUserEmailInput(emailAddress: string): Promise<void>;
|
|
19
|
+
clickSendInviteButton(): Promise<void>;
|
|
20
|
+
checkPendingInviteText(email: string): Promise<void>;
|
|
21
|
+
inviteNewUser(email: string): Promise<void>;
|
|
22
|
+
fillNewUserWithRetry(email: string): Promise<void>;
|
|
23
|
+
clickSettings(): Promise<void>;
|
|
24
|
+
clickLogout(): Promise<void>;
|
|
25
|
+
clickSkipCustomization(): Promise<void>;
|
|
26
|
+
clickCloseHelpCenter(): Promise<void>;
|
|
27
|
+
verifyCollaboratorName(): Promise<void>;
|
|
28
|
+
}
|
|
29
|
+
export { ModelerUserInvitePage };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModelerUserInvitePage = void 0;
|
|
4
|
+
const test_1 = require("@playwright/test");
|
|
5
|
+
const sleep_1 = require("../../utils/sleep");
|
|
6
|
+
class ModelerUserInvitePage {
|
|
7
|
+
page;
|
|
8
|
+
buttonAddUser;
|
|
9
|
+
inputFieldUserEmailAddress;
|
|
10
|
+
buttonSendInvitation;
|
|
11
|
+
pendingInviteText;
|
|
12
|
+
settings;
|
|
13
|
+
logout;
|
|
14
|
+
buttonSkipCustomization;
|
|
15
|
+
buttonCloseHelpCentre;
|
|
16
|
+
collaboratorName;
|
|
17
|
+
inviteModal;
|
|
18
|
+
collaboratorEmail;
|
|
19
|
+
constructor(page) {
|
|
20
|
+
this.page = page;
|
|
21
|
+
this.buttonAddUser = page.locator('[data-test="add-collaborator"]');
|
|
22
|
+
this.inputFieldUserEmailAddress = page.locator('[data-test="multi-select-input"]');
|
|
23
|
+
this.buttonSendInvitation = page.locator('[data-test="invite-email-button"]');
|
|
24
|
+
this.pendingInviteText = page.getByText('pending').first();
|
|
25
|
+
this.settings = page.getByLabel('Open Settings');
|
|
26
|
+
this.logout = page.getByRole('button', { name: 'Log out' });
|
|
27
|
+
this.buttonSkipCustomization = page.getByRole('button', {
|
|
28
|
+
name: 'Skip customization',
|
|
29
|
+
});
|
|
30
|
+
this.buttonCloseHelpCentre = page.getByRole('button', { name: 'Close' });
|
|
31
|
+
this.collaboratorName = page.getByText('QA Camunda');
|
|
32
|
+
this.collaboratorEmail = (email) => this.page.locator('[data-test="chip"]').filter({ hasText: `${email}` });
|
|
33
|
+
this.inviteModal = this.page.locator('text="Invite collaborators to"');
|
|
34
|
+
}
|
|
35
|
+
async clickAddUser() {
|
|
36
|
+
if (await this.inviteModal.isVisible({ timeout: 2000 })) {
|
|
37
|
+
console.log('Invite modal already open, skipping Add user click');
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
await (0, test_1.expect)(this.buttonAddUser).toBeVisible({ timeout: 60000 });
|
|
41
|
+
try {
|
|
42
|
+
await this.buttonAddUser.click({ timeout: 10000 });
|
|
43
|
+
}
|
|
44
|
+
catch (error) {
|
|
45
|
+
console.log('Regular click failed, trying force click');
|
|
46
|
+
await this.buttonAddUser.click({ force: true });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
async clickUserEmailInput() {
|
|
50
|
+
await (0, test_1.expect)(this.inputFieldUserEmailAddress).toBeVisible({
|
|
51
|
+
timeout: 60000,
|
|
52
|
+
});
|
|
53
|
+
await this.inputFieldUserEmailAddress.click();
|
|
54
|
+
}
|
|
55
|
+
async fillUserEmailInput(emailAddress) {
|
|
56
|
+
await this.inputFieldUserEmailAddress.fill(emailAddress);
|
|
57
|
+
await (0, test_1.expect)(this.inputFieldUserEmailAddress).toHaveValue(emailAddress);
|
|
58
|
+
await this.inputFieldUserEmailAddress.press('Enter');
|
|
59
|
+
}
|
|
60
|
+
async clickSendInviteButton() {
|
|
61
|
+
await (0, test_1.expect)(this.buttonSendInvitation).toBeVisible({ timeout: 60000 });
|
|
62
|
+
await this.buttonSendInvitation.click();
|
|
63
|
+
}
|
|
64
|
+
async checkPendingInviteText(email) {
|
|
65
|
+
const maxRetries = 4;
|
|
66
|
+
for (let attempt = 0; attempt < maxRetries; attempt++) {
|
|
67
|
+
try {
|
|
68
|
+
await (0, test_1.expect)(this.page.getByRole('row').filter({ hasText: `${email}` })).toContainText('pending', {
|
|
69
|
+
timeout: 30000,
|
|
70
|
+
});
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
catch (error) {
|
|
74
|
+
if (attempt === 0) {
|
|
75
|
+
await this.page.reload();
|
|
76
|
+
await (0, sleep_1.sleep)(20000);
|
|
77
|
+
}
|
|
78
|
+
else if (attempt === 1 || attempt === 2) {
|
|
79
|
+
await this.inviteNewUser(email);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
console.error(error);
|
|
83
|
+
throw new Error(`Inviting a user failed after ${maxRetries} attempts`);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
async inviteNewUser(email) {
|
|
89
|
+
await this.clickAddUser();
|
|
90
|
+
await this.clickUserEmailInput();
|
|
91
|
+
await this.fillUserEmailInput(email);
|
|
92
|
+
await (0, sleep_1.sleep)(8000);
|
|
93
|
+
await this.clickSendInviteButton();
|
|
94
|
+
}
|
|
95
|
+
async fillNewUserWithRetry(email) {
|
|
96
|
+
const maxRetries = 3;
|
|
97
|
+
for (let attempt = 1; attempt <= maxRetries; attempt++) {
|
|
98
|
+
try {
|
|
99
|
+
await this.clickUserEmailInput();
|
|
100
|
+
await this.fillUserEmailInput(email);
|
|
101
|
+
await (0, test_1.expect)(this.collaboratorEmail(email).first()).toBeVisible({
|
|
102
|
+
timeout: 20000,
|
|
103
|
+
});
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
catch (error) {
|
|
107
|
+
console.log(`Attempt ${attempt}: Error filling email input:${email}`, error);
|
|
108
|
+
}
|
|
109
|
+
if (attempt < maxRetries) {
|
|
110
|
+
await this.inputFieldUserEmailAddress.clear();
|
|
111
|
+
await (0, sleep_1.sleep)(1000);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
throw new Error(`Failed to filling email input:${email} after ${maxRetries} attempts`);
|
|
115
|
+
}
|
|
116
|
+
async clickSettings() {
|
|
117
|
+
await (0, test_1.expect)(this.settings).toBeVisible({ timeout: 60000 });
|
|
118
|
+
await this.settings.click({ timeout: 90000 });
|
|
119
|
+
}
|
|
120
|
+
async clickLogout() {
|
|
121
|
+
await (0, test_1.expect)(this.logout).toBeVisible({ timeout: 60000 });
|
|
122
|
+
await this.logout.click({ timeout: 50000 });
|
|
123
|
+
}
|
|
124
|
+
async clickSkipCustomization() {
|
|
125
|
+
await (0, test_1.expect)(this.buttonSkipCustomization).toBeVisible({ timeout: 60000 });
|
|
126
|
+
await this.buttonSkipCustomization.click();
|
|
127
|
+
}
|
|
128
|
+
async clickCloseHelpCenter() {
|
|
129
|
+
await (0, test_1.expect)(this.buttonCloseHelpCentre).toBeVisible({ timeout: 60000 });
|
|
130
|
+
await this.buttonCloseHelpCentre.click();
|
|
131
|
+
}
|
|
132
|
+
async verifyCollaboratorName() {
|
|
133
|
+
await (0, test_1.expect)(this.collaboratorName).toBeVisible({ timeout: 60000 });
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.ModelerUserInvitePage = ModelerUserInvitePage;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Authorization } from '../8.11/Authorization';
|
|
2
|
+
import { Page } from '@playwright/test';
|
|
3
|
+
declare class OCIdentityAuthorizationsPage extends Authorization {
|
|
4
|
+
constructor(page: Page);
|
|
5
|
+
clickProcessDefinitionTab(): Promise<void>;
|
|
6
|
+
clickAuthorizationTab(): Promise<void>;
|
|
7
|
+
clickRoleTab(): Promise<void>;
|
|
8
|
+
clickComponentTab(): Promise<void>;
|
|
9
|
+
clickResourceTab(): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
export { OCIdentityAuthorizationsPage };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OCIdentityAuthorizationsPage = void 0;
|
|
4
|
+
const Authorization_1 = require("../8.11/Authorization");
|
|
5
|
+
class OCIdentityAuthorizationsPage extends Authorization_1.Authorization {
|
|
6
|
+
constructor(page) {
|
|
7
|
+
super(page);
|
|
8
|
+
}
|
|
9
|
+
async clickProcessDefinitionTab() {
|
|
10
|
+
await this.selectResourceType('PROCESS_DEFINITION');
|
|
11
|
+
}
|
|
12
|
+
async clickAuthorizationTab() {
|
|
13
|
+
await this.selectResourceType('AUTHORIZATION');
|
|
14
|
+
}
|
|
15
|
+
async clickRoleTab() {
|
|
16
|
+
await this.selectResourceType('ROLE');
|
|
17
|
+
}
|
|
18
|
+
async clickComponentTab() {
|
|
19
|
+
await this.selectResourceType('COMPONENT');
|
|
20
|
+
}
|
|
21
|
+
async clickResourceTab() {
|
|
22
|
+
await this.selectResourceType('RESOURCE');
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.OCIdentityAuthorizationsPage = OCIdentityAuthorizationsPage;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Page, Locator } from '@playwright/test';
|
|
2
|
+
export declare class OCIdentityClusterVariablesPage {
|
|
3
|
+
private page;
|
|
4
|
+
readonly variablesList: Locator;
|
|
5
|
+
readonly editVariableButton: (variableName: string) => Locator;
|
|
6
|
+
readonly editVariableModal: Locator;
|
|
7
|
+
readonly variableValueField: Locator;
|
|
8
|
+
readonly saveVariableButton: Locator;
|
|
9
|
+
readonly closeEditVariableModal: Locator;
|
|
10
|
+
readonly cancelButton: Locator;
|
|
11
|
+
readonly variableRow: (variableName: string) => Locator;
|
|
12
|
+
readonly monacoEditor: Locator;
|
|
13
|
+
readonly monacoEditorTextArea: Locator;
|
|
14
|
+
readonly successMessage: Locator;
|
|
15
|
+
readonly editMenuItem: Locator;
|
|
16
|
+
readonly editModalHeading: Locator;
|
|
17
|
+
constructor(page: Page);
|
|
18
|
+
editVariable(variableName: string, newValue: string): Promise<void>;
|
|
19
|
+
assertVariableExists(variableName: string): Promise<void>;
|
|
20
|
+
assertVariableValue(variableName: string, expectedValue: string): Promise<void>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OCIdentityClusterVariablesPage = void 0;
|
|
4
|
+
const test_1 = require("@playwright/test");
|
|
5
|
+
const sleep_1 = require("../../utils/sleep");
|
|
6
|
+
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
7
|
+
class OCIdentityClusterVariablesPage {
|
|
8
|
+
page;
|
|
9
|
+
variablesList;
|
|
10
|
+
editVariableButton;
|
|
11
|
+
editVariableModal;
|
|
12
|
+
variableValueField;
|
|
13
|
+
saveVariableButton;
|
|
14
|
+
closeEditVariableModal;
|
|
15
|
+
cancelButton;
|
|
16
|
+
variableRow;
|
|
17
|
+
monacoEditor;
|
|
18
|
+
monacoEditorTextArea;
|
|
19
|
+
successMessage;
|
|
20
|
+
editMenuItem;
|
|
21
|
+
editModalHeading;
|
|
22
|
+
constructor(page) {
|
|
23
|
+
this.page = page;
|
|
24
|
+
// The Admin UI moved off Carbon onto the Camunda design system:
|
|
25
|
+
// `identity/client/src/pages/cluster-variables/index.tsx` renders ListV2
|
|
26
|
+
// (design-system `DataTable`, Radix dialog/menu) when the
|
|
27
|
+
// `isNewDesignSystemEnabled` client config is on, which SaaS clusters now
|
|
28
|
+
// ship with, so the Carbon `table.cds--data-table` this was scoped to no
|
|
29
|
+
// longer exists. The table role resolves both DOMs, and filtering the rows
|
|
30
|
+
// by the variable name already excludes the header row, so the removed
|
|
31
|
+
// tbody scoping is not needed. Mirrors
|
|
32
|
+
// pages/SM-8.10/OCIdentityClusterVariablesPage.ts.
|
|
33
|
+
this.variablesList = page.getByRole('table');
|
|
34
|
+
this.variableRow = (variableName) => this.variablesList.getByRole('row').filter({ hasText: variableName });
|
|
35
|
+
// Carbon's OverflowMenu labels its trigger "Options"; the design-system
|
|
36
|
+
// DataTable labels it "Row actions".
|
|
37
|
+
this.editVariableButton = (variableName) => this.variableRow(variableName).getByRole('button', {
|
|
38
|
+
name: /^(Options|Row actions)$/,
|
|
39
|
+
});
|
|
40
|
+
this.editVariableModal = page.getByRole('dialog', {
|
|
41
|
+
name: /Edit.*variable/i,
|
|
42
|
+
});
|
|
43
|
+
this.variableValueField = this.editVariableModal.getByRole('textbox', {
|
|
44
|
+
name: 'Editor content',
|
|
45
|
+
});
|
|
46
|
+
// Both modals pass `confirmLabel={t("save")}`, so the accessible name is
|
|
47
|
+
// stable across the two footers.
|
|
48
|
+
this.saveVariableButton = this.editVariableModal.getByRole('button', {
|
|
49
|
+
name: 'Save',
|
|
50
|
+
});
|
|
51
|
+
this.closeEditVariableModal = this.editVariableModal.getByRole('button', {
|
|
52
|
+
name: 'Close',
|
|
53
|
+
});
|
|
54
|
+
this.cancelButton = this.editVariableModal.getByRole('button', {
|
|
55
|
+
name: 'Cancel',
|
|
56
|
+
});
|
|
57
|
+
this.monacoEditor = this.editVariableModal.locator('.monaco-editor');
|
|
58
|
+
this.monacoEditorTextArea = this.monacoEditor.locator('textarea.inputarea');
|
|
59
|
+
this.successMessage = this.page.getByText('Cluster variable updated');
|
|
60
|
+
// Carbon renders the modal title as an h3, the design-system dialog as an
|
|
61
|
+
// h2; the heading role covers both.
|
|
62
|
+
this.editModalHeading = this.editVariableModal.getByRole('heading').first();
|
|
63
|
+
// Carbon menu items are buttons, Radix menu items are divs — match on the
|
|
64
|
+
// role instead of the tag.
|
|
65
|
+
this.editMenuItem = this.page.getByRole('menuitem', {
|
|
66
|
+
name: 'Edit',
|
|
67
|
+
exact: true,
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
async editVariable(variableName, newValue) {
|
|
71
|
+
await this.editVariableButton(variableName).click();
|
|
72
|
+
await (0, test_1.expect)(this.editMenuItem).toBeVisible();
|
|
73
|
+
await this.editMenuItem.click();
|
|
74
|
+
await (0, test_1.expect)(this.variableValueField).toBeVisible();
|
|
75
|
+
await (0, test_1.expect)(this.monacoEditor).toBeVisible();
|
|
76
|
+
// Monaco's hidden <textarea> only forwards keyboard events to the editor
|
|
77
|
+
// model — `fill()` writes the value but doesn't trigger Monaco's
|
|
78
|
+
// onDidChangeContent, so the modal's JSON validator never re-runs and Save
|
|
79
|
+
// stays disabled. Use real keyboard input instead, and retry the
|
|
80
|
+
// clear-type-enable cycle because Monaco's auto-closing brackets/quotes can
|
|
81
|
+
// corrupt the JSON on the first attempt.
|
|
82
|
+
const MAX_TYPE_ATTEMPTS = 3;
|
|
83
|
+
for (let attempt = 1; attempt <= MAX_TYPE_ATTEMPTS; attempt++) {
|
|
84
|
+
await this.monacoEditor.click();
|
|
85
|
+
await this.monacoEditorTextArea.press('ControlOrMeta+A');
|
|
86
|
+
await this.monacoEditorTextArea.press('Delete');
|
|
87
|
+
// Let Monaco settle after clearing content
|
|
88
|
+
await (0, sleep_1.sleep)(500);
|
|
89
|
+
await this.monacoEditorTextArea.pressSequentially(newValue, { delay: 20 });
|
|
90
|
+
// Dismiss any auto-complete popup by clicking the modal heading.
|
|
91
|
+
// Do NOT use press('Escape') on the textarea — when no autocomplete
|
|
92
|
+
// is showing, the Escape event propagates to the dialog and closes it.
|
|
93
|
+
await this.editModalHeading.click();
|
|
94
|
+
// Let Monaco settle and validate the new content
|
|
95
|
+
await (0, sleep_1.sleep)(500);
|
|
96
|
+
try {
|
|
97
|
+
await (0, test_1.expect)(this.saveVariableButton).toBeEnabled({ timeout: 10000 });
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
catch {
|
|
101
|
+
if (attempt === MAX_TYPE_ATTEMPTS) {
|
|
102
|
+
throw new Error(`Save button did not become enabled after ${MAX_TYPE_ATTEMPTS} typing attempts`);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
await this.saveVariableButton.click();
|
|
107
|
+
// The toast is only enqueued once the update mutation resolves, which on
|
|
108
|
+
// SaaS regularly takes longer than the default 5s expect timeout.
|
|
109
|
+
await (0, test_1.expect)(this.successMessage).toBeVisible({ timeout: 30000 });
|
|
110
|
+
await (0, test_1.expect)(this.editVariableModal).toBeHidden();
|
|
111
|
+
}
|
|
112
|
+
async assertVariableExists(variableName) {
|
|
113
|
+
// ListV2 fetches the variables with react-query after the Cluster
|
|
114
|
+
// variables nav link is followed, so the table can still be empty when
|
|
115
|
+
// this runs; reload between attempts rather than racing a single wait.
|
|
116
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.variableRow(variableName), {
|
|
117
|
+
visibilityTimeout: 30000,
|
|
118
|
+
postAction: async () => {
|
|
119
|
+
await this.page.reload();
|
|
120
|
+
},
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
async assertVariableValue(variableName, expectedValue) {
|
|
124
|
+
const row = this.variableRow(variableName);
|
|
125
|
+
await (0, test_1.expect)(row).toContainText(expectedValue);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.OCIdentityClusterVariablesPage = OCIdentityClusterVariablesPage;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Page, Locator } from '@playwright/test';
|
|
2
|
+
export declare class OCIdentityGroupsPage {
|
|
3
|
+
private page;
|
|
4
|
+
readonly groupsList: Locator;
|
|
5
|
+
readonly createGroupButton: Locator;
|
|
6
|
+
readonly editGroupButton: (rowName?: string) => Locator;
|
|
7
|
+
readonly deleteGroupButton: (rowName?: string) => Locator;
|
|
8
|
+
readonly createGroupModal: Locator;
|
|
9
|
+
readonly closeCreateGroupModal: Locator;
|
|
10
|
+
readonly createGroupIdField: Locator;
|
|
11
|
+
readonly createNameField: Locator;
|
|
12
|
+
readonly createDescriptionField: Locator;
|
|
13
|
+
readonly createGroupModalCancelButton: Locator;
|
|
14
|
+
readonly createGroupModalCreateButton: Locator;
|
|
15
|
+
readonly editGroupModal: Locator;
|
|
16
|
+
readonly closeEditGroupModal: Locator;
|
|
17
|
+
readonly editNameField: Locator;
|
|
18
|
+
readonly editDescriptionField: Locator;
|
|
19
|
+
readonly editGroupModalCancelButton: Locator;
|
|
20
|
+
readonly editGroupModalUpdateButton: Locator;
|
|
21
|
+
readonly deleteGroupModal: Locator;
|
|
22
|
+
readonly closeDeleteGroupModal: Locator;
|
|
23
|
+
readonly deleteGroupModalCancelButton: Locator;
|
|
24
|
+
readonly deleteGroupModalDeleteButton: Locator;
|
|
25
|
+
readonly emptyState: Locator;
|
|
26
|
+
readonly assignUserButton: Locator;
|
|
27
|
+
readonly searchBox: Locator;
|
|
28
|
+
readonly assignUserButtonModal: Locator;
|
|
29
|
+
readonly selectGroupRow: (name: string) => Locator;
|
|
30
|
+
readonly groupCell: (name: string) => Locator;
|
|
31
|
+
constructor(page: Page);
|
|
32
|
+
createGroup(groupId: string, groupName: string, description?: string): Promise<void>;
|
|
33
|
+
editGroup(currentName: string, newName: string, newDescription?: string): Promise<void>;
|
|
34
|
+
deleteGroup(groupName: string): Promise<void>;
|
|
35
|
+
assertGroupExists(groupName: string): Promise<void>;
|
|
36
|
+
clickGroupId(groupName: string): Promise<void>;
|
|
37
|
+
assignUserToGroup(userName: string): Promise<void>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OCIdentityGroupsPage = void 0;
|
|
4
|
+
const test_1 = require("@playwright/test");
|
|
5
|
+
const sleep_1 = require("../../utils/sleep");
|
|
6
|
+
const clickLocatorWithRetry_1 = require("../../utils/assertionHelpers/clickLocatorWithRetry");
|
|
7
|
+
class OCIdentityGroupsPage {
|
|
8
|
+
page;
|
|
9
|
+
groupsList;
|
|
10
|
+
createGroupButton;
|
|
11
|
+
editGroupButton;
|
|
12
|
+
deleteGroupButton;
|
|
13
|
+
createGroupModal;
|
|
14
|
+
closeCreateGroupModal;
|
|
15
|
+
createGroupIdField;
|
|
16
|
+
createNameField;
|
|
17
|
+
createDescriptionField;
|
|
18
|
+
createGroupModalCancelButton;
|
|
19
|
+
createGroupModalCreateButton;
|
|
20
|
+
editGroupModal;
|
|
21
|
+
closeEditGroupModal;
|
|
22
|
+
editNameField;
|
|
23
|
+
editDescriptionField;
|
|
24
|
+
editGroupModalCancelButton;
|
|
25
|
+
editGroupModalUpdateButton;
|
|
26
|
+
deleteGroupModal;
|
|
27
|
+
closeDeleteGroupModal;
|
|
28
|
+
deleteGroupModalCancelButton;
|
|
29
|
+
deleteGroupModalDeleteButton;
|
|
30
|
+
emptyState;
|
|
31
|
+
assignUserButton;
|
|
32
|
+
searchBox;
|
|
33
|
+
assignUserButtonModal;
|
|
34
|
+
selectGroupRow;
|
|
35
|
+
groupCell;
|
|
36
|
+
constructor(page) {
|
|
37
|
+
this.page = page;
|
|
38
|
+
this.groupsList = page.getByRole('table');
|
|
39
|
+
this.selectGroupRow = (name) => this.groupsList.getByRole('row', { name: name });
|
|
40
|
+
this.groupCell = (name) => this.groupsList.getByRole('cell', { name, exact: true });
|
|
41
|
+
this.createGroupButton = page.getByRole('button', {
|
|
42
|
+
name: /Create( a)? group/,
|
|
43
|
+
});
|
|
44
|
+
this.editGroupButton = (rowName) => this.groupsList.getByRole('row', { name: rowName }).getByLabel('Edit');
|
|
45
|
+
this.deleteGroupButton = (rowName) => this.groupsList.getByRole('row', { name: rowName }).getByLabel('Delete');
|
|
46
|
+
this.createGroupModal = page.getByRole('dialog', {
|
|
47
|
+
name: 'Create group',
|
|
48
|
+
});
|
|
49
|
+
this.closeCreateGroupModal = this.createGroupModal.getByRole('button', {
|
|
50
|
+
name: 'Close',
|
|
51
|
+
});
|
|
52
|
+
this.createGroupIdField = this.createGroupModal.getByRole('textbox', {
|
|
53
|
+
name: 'Group ID',
|
|
54
|
+
});
|
|
55
|
+
this.createNameField = this.createGroupModal.getByRole('textbox', {
|
|
56
|
+
name: 'Group name',
|
|
57
|
+
});
|
|
58
|
+
this.createDescriptionField = this.createGroupModal.getByRole('textbox', {
|
|
59
|
+
name: 'Description',
|
|
60
|
+
});
|
|
61
|
+
this.createGroupModalCancelButton = this.createGroupModal.getByRole('button', {
|
|
62
|
+
name: 'Cancel',
|
|
63
|
+
});
|
|
64
|
+
this.createGroupModalCreateButton = this.createGroupModal.getByRole('button', {
|
|
65
|
+
name: 'Create group',
|
|
66
|
+
});
|
|
67
|
+
this.editGroupModal = page.getByRole('dialog', {
|
|
68
|
+
name: 'Edit group',
|
|
69
|
+
});
|
|
70
|
+
this.closeEditGroupModal = this.editGroupModal.getByRole('button', {
|
|
71
|
+
name: 'Close',
|
|
72
|
+
});
|
|
73
|
+
this.editNameField = this.editGroupModal.getByRole('textbox', {
|
|
74
|
+
name: 'Group name',
|
|
75
|
+
});
|
|
76
|
+
this.editDescriptionField = this.editGroupModal.getByRole('textbox', {
|
|
77
|
+
name: 'Description',
|
|
78
|
+
});
|
|
79
|
+
this.editGroupModalCancelButton = this.editGroupModal.getByRole('button', {
|
|
80
|
+
name: 'Cancel',
|
|
81
|
+
});
|
|
82
|
+
this.editGroupModalUpdateButton = this.editGroupModal.getByRole('button', {
|
|
83
|
+
name: 'Edit group',
|
|
84
|
+
});
|
|
85
|
+
this.deleteGroupModal = page.getByRole('dialog', {
|
|
86
|
+
name: 'Delete group',
|
|
87
|
+
});
|
|
88
|
+
this.closeDeleteGroupModal = this.deleteGroupModal.getByRole('button', {
|
|
89
|
+
name: 'Close',
|
|
90
|
+
});
|
|
91
|
+
this.deleteGroupModalCancelButton = this.deleteGroupModal.getByRole('button', {
|
|
92
|
+
name: 'Cancel',
|
|
93
|
+
});
|
|
94
|
+
this.deleteGroupModalDeleteButton = this.deleteGroupModal.getByRole('button', {
|
|
95
|
+
name: 'Delete group',
|
|
96
|
+
});
|
|
97
|
+
this.emptyState = page.getByText('No groups created yet');
|
|
98
|
+
this.assignUserButton = page.getByRole('button', { name: 'Assign user' });
|
|
99
|
+
this.searchBox = page.getByTitle('Username');
|
|
100
|
+
this.assignUserButtonModal = page
|
|
101
|
+
.getByLabel('Assign user')
|
|
102
|
+
.getByRole('button', { name: 'Assign user' });
|
|
103
|
+
}
|
|
104
|
+
async createGroup(groupId, groupName, description) {
|
|
105
|
+
await (0, test_1.expect)(this.createGroupButton).toBeVisible({ timeout: 10000 });
|
|
106
|
+
await this.createGroupButton.click();
|
|
107
|
+
await (0, test_1.expect)(this.createGroupIdField).toBeVisible({ timeout: 10000 });
|
|
108
|
+
await this.createGroupIdField.click();
|
|
109
|
+
await this.createGroupIdField.fill(groupId);
|
|
110
|
+
await (0, test_1.expect)(this.createNameField).toBeVisible({ timeout: 10000 });
|
|
111
|
+
await this.createNameField.click();
|
|
112
|
+
await this.createNameField.fill(groupName);
|
|
113
|
+
if (description) {
|
|
114
|
+
await (0, test_1.expect)(this.createDescriptionField).toBeVisible({ timeout: 10000 });
|
|
115
|
+
await this.createDescriptionField.fill(description);
|
|
116
|
+
}
|
|
117
|
+
await this.createGroupModalCreateButton.click();
|
|
118
|
+
await (0, test_1.expect)(this.createGroupModal).toBeHidden();
|
|
119
|
+
}
|
|
120
|
+
async editGroup(currentName, newName, newDescription) {
|
|
121
|
+
await this.editGroupButton(currentName).click();
|
|
122
|
+
await (0, test_1.expect)(this.editGroupModal).toBeVisible();
|
|
123
|
+
await this.editNameField.fill(newName);
|
|
124
|
+
if (newDescription) {
|
|
125
|
+
await this.editDescriptionField.fill(newDescription);
|
|
126
|
+
}
|
|
127
|
+
await this.editGroupModalUpdateButton.click();
|
|
128
|
+
await (0, test_1.expect)(this.editGroupModal).toBeHidden();
|
|
129
|
+
}
|
|
130
|
+
async deleteGroup(groupName) {
|
|
131
|
+
await this.deleteGroupButton(groupName).click();
|
|
132
|
+
await (0, test_1.expect)(this.deleteGroupModal).toBeVisible();
|
|
133
|
+
await this.deleteGroupModalDeleteButton.click();
|
|
134
|
+
await (0, test_1.expect)(this.deleteGroupModal).toBeHidden();
|
|
135
|
+
}
|
|
136
|
+
async assertGroupExists(groupName) {
|
|
137
|
+
await (0, test_1.expect)(this.selectGroupRow(groupName)).toBeVisible();
|
|
138
|
+
}
|
|
139
|
+
async clickGroupId(groupName) {
|
|
140
|
+
const maxRetries = 10;
|
|
141
|
+
const retryDelay = 5000;
|
|
142
|
+
for (let attempt = 1; attempt <= maxRetries; attempt++) {
|
|
143
|
+
try {
|
|
144
|
+
const groupRow = await this.selectGroupRow(groupName);
|
|
145
|
+
await groupRow.click();
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
catch (error) {
|
|
149
|
+
if (attempt < maxRetries) {
|
|
150
|
+
console.warn(`Attempt ${attempt} failed. Reloading and retrying in 5 seconds...`);
|
|
151
|
+
await this.page.reload();
|
|
152
|
+
await this.page.waitForTimeout(retryDelay);
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
throw new Error(`Failed to click group '${groupName}' after ${maxRetries} attempts.`);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
async assignUserToGroup(userName) {
|
|
161
|
+
// The group detail page (and its members API) can be slow to render the
|
|
162
|
+
// "Assign user" button right after navigating into a freshly created
|
|
163
|
+
// group, so retry the click and reload between attempts instead of
|
|
164
|
+
// relying on a single default-timeout click.
|
|
165
|
+
await (0, clickLocatorWithRetry_1.clickLocatorWithRetry)(this.page, this.assignUserButton, {
|
|
166
|
+
postAction: async () => {
|
|
167
|
+
await this.page.reload();
|
|
168
|
+
},
|
|
169
|
+
});
|
|
170
|
+
await (0, test_1.expect)(this.searchBox).toBeVisible({ timeout: 10000 });
|
|
171
|
+
await this.searchBox.fill(userName);
|
|
172
|
+
await this.assignUserButtonModal.click();
|
|
173
|
+
await (0, sleep_1.sleep)(8000);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
exports.OCIdentityGroupsPage = OCIdentityGroupsPage;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Page, Locator } from '@playwright/test';
|
|
2
|
+
declare class OCIdentityHomePage {
|
|
3
|
+
private page;
|
|
4
|
+
readonly groupsTab: Locator;
|
|
5
|
+
readonly adminBanner: Locator;
|
|
6
|
+
readonly rolesTab: Locator;
|
|
7
|
+
readonly authorizationsTab: Locator;
|
|
8
|
+
readonly clusterVariablesTab: Locator;
|
|
9
|
+
readonly licenseKeyTagNonProduction: Locator;
|
|
10
|
+
readonly licenseKeyTagNonCommercial: Locator;
|
|
11
|
+
readonly licenseKeyTagProduction: Locator;
|
|
12
|
+
readonly licenseKeyTagCommercial: Locator;
|
|
13
|
+
readonly noPermissionsMessage: Locator;
|
|
14
|
+
constructor(page: Page);
|
|
15
|
+
private openTab;
|
|
16
|
+
clickAuthorizationsTab(): Promise<void>;
|
|
17
|
+
clickRolesTab(): Promise<void>;
|
|
18
|
+
clickGroupsTab(): Promise<void>;
|
|
19
|
+
clickClusterVariablesTab(): Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
export { OCIdentityHomePage };
|