@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.
Files changed (167) hide show
  1. package/.github/c8_versions.json +1 -0
  2. package/README.md +1 -0
  3. package/dist/fixtures/8.11.d.ts +83 -0
  4. package/dist/fixtures/8.11.js +203 -0
  5. package/dist/pages/8.11/AppsPage.d.ts +60 -0
  6. package/dist/pages/8.11/AppsPage.js +1060 -0
  7. package/dist/pages/8.11/AuditLogPage.d.ts +14 -0
  8. package/dist/pages/8.11/AuditLogPage.js +69 -0
  9. package/dist/pages/8.11/Authorization.d.ts +44 -0
  10. package/dist/pages/8.11/Authorization.js +409 -0
  11. package/dist/pages/8.11/ClientCredentialsDetailsPage.d.ts +12 -0
  12. package/dist/pages/8.11/ClientCredentialsDetailsPage.js +36 -0
  13. package/dist/pages/8.11/ClusterDetailsPage.d.ts +107 -0
  14. package/dist/pages/8.11/ClusterDetailsPage.js +892 -0
  15. package/dist/pages/8.11/ClusterPage.d.ts +96 -0
  16. package/dist/pages/8.11/ClusterPage.js +657 -0
  17. package/dist/pages/8.11/ClusterSecretsPage.d.ts +48 -0
  18. package/dist/pages/8.11/ClusterSecretsPage.js +406 -0
  19. package/dist/pages/8.11/ConnectorMarketplacePage.d.ts +29 -0
  20. package/dist/pages/8.11/ConnectorMarketplacePage.js +156 -0
  21. package/dist/pages/8.11/ConnectorSettingsPage.d.ts +39 -0
  22. package/dist/pages/8.11/ConnectorSettingsPage.js +150 -0
  23. package/dist/pages/8.11/ConnectorTemplatePage.d.ts +11 -0
  24. package/dist/pages/8.11/ConnectorTemplatePage.js +34 -0
  25. package/dist/pages/8.11/ConsoleOrganizationPage.d.ts +77 -0
  26. package/dist/pages/8.11/ConsoleOrganizationPage.js +457 -0
  27. package/dist/pages/8.11/DataFiltersPage.d.ts +30 -0
  28. package/dist/pages/8.11/DataFiltersPage.js +135 -0
  29. package/dist/pages/8.11/FormJsPage.d.ts +38 -0
  30. package/dist/pages/8.11/FormJsPage.js +283 -0
  31. package/dist/pages/8.11/HomePage.d.ts +29 -0
  32. package/dist/pages/8.11/HomePage.js +176 -0
  33. package/dist/pages/8.11/IdpCreatePage.d.ts +118 -0
  34. package/dist/pages/8.11/IdpCreatePage.js +514 -0
  35. package/dist/pages/8.11/LoginPage.d.ts +45 -0
  36. package/dist/pages/8.11/LoginPage.js +214 -0
  37. package/dist/pages/8.11/ModelerCreatePage.d.ts +256 -0
  38. package/dist/pages/8.11/ModelerCreatePage.js +2272 -0
  39. package/dist/pages/8.11/ModelerHomePage.d.ts +100 -0
  40. package/dist/pages/8.11/ModelerHomePage.js +1168 -0
  41. package/dist/pages/8.11/ModelerUserInvitePage.d.ts +29 -0
  42. package/dist/pages/8.11/ModelerUserInvitePage.js +136 -0
  43. package/dist/pages/8.11/OCIdentityAuthorizationsPage.d.ts +11 -0
  44. package/dist/pages/8.11/OCIdentityAuthorizationsPage.js +25 -0
  45. package/dist/pages/8.11/OCIdentityClusterVariablesPage.d.ts +21 -0
  46. package/dist/pages/8.11/OCIdentityClusterVariablesPage.js +128 -0
  47. package/dist/pages/8.11/OCIdentityGroupsPage.d.ts +38 -0
  48. package/dist/pages/8.11/OCIdentityGroupsPage.js +176 -0
  49. package/dist/pages/8.11/OCIdentityHomePage.d.ts +21 -0
  50. package/dist/pages/8.11/OCIdentityHomePage.js +111 -0
  51. package/dist/pages/8.11/OCIdentityMappingRulesPage.d.ts +23 -0
  52. package/dist/pages/8.11/OCIdentityMappingRulesPage.js +124 -0
  53. package/dist/pages/8.11/OCIdentityRolesPage.d.ts +43 -0
  54. package/dist/pages/8.11/OCIdentityRolesPage.js +236 -0
  55. package/dist/pages/8.11/OperateHomePage.d.ts +28 -0
  56. package/dist/pages/8.11/OperateHomePage.js +150 -0
  57. package/dist/pages/8.11/OperateProcessInstancePage.d.ts +43 -0
  58. package/dist/pages/8.11/OperateProcessInstancePage.js +893 -0
  59. package/dist/pages/8.11/OperateProcessesPage.d.ts +28 -0
  60. package/dist/pages/8.11/OperateProcessesPage.js +153 -0
  61. package/dist/pages/8.11/OptimizeCollectionsPage.d.ts +30 -0
  62. package/dist/pages/8.11/OptimizeCollectionsPage.js +175 -0
  63. package/dist/pages/8.11/OptimizeDashboardPage.d.ts +11 -0
  64. package/dist/pages/8.11/OptimizeDashboardPage.js +71 -0
  65. package/dist/pages/8.11/OptimizeHomePage.d.ts +17 -0
  66. package/dist/pages/8.11/OptimizeHomePage.js +171 -0
  67. package/dist/pages/8.11/OptimizeReportPage.d.ts +49 -0
  68. package/dist/pages/8.11/OptimizeReportPage.js +184 -0
  69. package/dist/pages/8.11/OptimizeSharePage.d.ts +16 -0
  70. package/dist/pages/8.11/OptimizeSharePage.js +100 -0
  71. package/dist/pages/8.11/PlayPage.d.ts +17 -0
  72. package/dist/pages/8.11/PlayPage.js +157 -0
  73. package/dist/pages/8.11/ProcessApplicationPage.d.ts +32 -0
  74. package/dist/pages/8.11/ProcessApplicationPage.js +496 -0
  75. package/dist/pages/8.11/SettingsPage.d.ts +10 -0
  76. package/dist/pages/8.11/SettingsPage.js +53 -0
  77. package/dist/pages/8.11/SignUpPage.d.ts +42 -0
  78. package/dist/pages/8.11/SignUpPage.js +134 -0
  79. package/dist/pages/8.11/TaskDetailsPage.d.ts +77 -0
  80. package/dist/pages/8.11/TaskDetailsPage.js +324 -0
  81. package/dist/pages/8.11/TaskPanelPage.d.ts +26 -0
  82. package/dist/pages/8.11/TaskPanelPage.js +245 -0
  83. package/dist/pages/8.11/TaskProcessesPage.d.ts +18 -0
  84. package/dist/pages/8.11/TaskProcessesPage.js +134 -0
  85. package/dist/pages/8.11/UtilitiesPage.d.ts +56 -0
  86. package/dist/pages/8.11/UtilitiesPage.js +1024 -0
  87. package/dist/pages/8.11/WorkspaceMembersPage.d.ts +21 -0
  88. package/dist/pages/8.11/WorkspaceMembersPage.js +268 -0
  89. package/dist/tests/8.11/access-user-role-management.spec.d.ts +1 -0
  90. package/dist/tests/8.11/access-user-role-management.spec.js +487 -0
  91. package/dist/tests/8.11/agentic-ai-user-flows.spec.d.ts +1 -0
  92. package/dist/tests/8.11/agentic-ai-user-flows.spec.js +209 -0
  93. package/dist/tests/8.11/aws-cluster-user-flows.spec.d.ts +1 -0
  94. package/dist/tests/8.11/aws-cluster-user-flows.spec.js +188 -0
  95. package/dist/tests/8.11/aws-connectors-user-flows.spec.d.ts +1 -0
  96. package/dist/tests/8.11/aws-connectors-user-flows.spec.js +167 -0
  97. package/dist/tests/8.11/cluster-variables.spec.d.ts +1 -0
  98. package/dist/tests/8.11/cluster-variables.spec.js +202 -0
  99. package/dist/tests/8.11/connectors-user-flows.spec.d.ts +1 -0
  100. package/dist/tests/8.11/connectors-user-flows.spec.js +537 -0
  101. package/dist/tests/8.11/console-user-flows.spec.d.ts +1 -0
  102. package/dist/tests/8.11/console-user-flows.spec.js +199 -0
  103. package/dist/tests/8.11/hto-user-flows.spec.d.ts +1 -0
  104. package/dist/tests/8.11/hto-user-flows.spec.js +358 -0
  105. package/dist/tests/8.11/idp-user-flows.spec.d.ts +1 -0
  106. package/dist/tests/8.11/idp-user-flows.spec.js +316 -0
  107. package/dist/tests/8.11/login-negative-tests.spec.d.ts +1 -0
  108. package/dist/tests/8.11/login-negative-tests.spec.js +29 -0
  109. package/dist/tests/8.11/login.spec.d.ts +1 -0
  110. package/dist/tests/8.11/login.spec.js +29 -0
  111. package/dist/tests/8.11/navigation.spec.d.ts +1 -0
  112. package/dist/tests/8.11/navigation.spec.js +59 -0
  113. package/dist/tests/8.11/operate-access-flow.spec.d.ts +1 -0
  114. package/dist/tests/8.11/operate-access-flow.spec.js +136 -0
  115. package/dist/tests/8.11/optimize-agentic-control-panel-api.spec.d.ts +1 -0
  116. package/dist/tests/8.11/optimize-agentic-control-panel-api.spec.js +96 -0
  117. package/dist/tests/8.11/optimize-agentic-control-panel-ui.spec.d.ts +1 -0
  118. package/dist/tests/8.11/optimize-agentic-control-panel-ui.spec.js +69 -0
  119. package/dist/tests/8.11/optimize-api-tests.spec.d.ts +1 -0
  120. package/dist/tests/8.11/optimize-api-tests.spec.js +1194 -0
  121. package/dist/tests/8.11/optimize-collections-api.spec.d.ts +1 -0
  122. package/dist/tests/8.11/optimize-collections-api.spec.js +184 -0
  123. package/dist/tests/8.11/optimize-collections-ui.spec.d.ts +1 -0
  124. package/dist/tests/8.11/optimize-collections-ui.spec.js +46 -0
  125. package/dist/tests/8.11/optimize-data-filters-api.spec.d.ts +1 -0
  126. package/dist/tests/8.11/optimize-data-filters-api.spec.js +195 -0
  127. package/dist/tests/8.11/optimize-data-filters-ui.spec.d.ts +1 -0
  128. package/dist/tests/8.11/optimize-data-filters-ui.spec.js +306 -0
  129. package/dist/tests/8.11/optimize-exporter-filters-importer-e2e.spec.d.ts +1 -0
  130. package/dist/tests/8.11/optimize-exporter-filters-importer-e2e.spec.js +316 -0
  131. package/dist/tests/8.11/optimize-sharing-alerts-export-api.spec.d.ts +1 -0
  132. package/dist/tests/8.11/optimize-sharing-alerts-export-api.spec.js +337 -0
  133. package/dist/tests/8.11/optimize-sharing-alerts-export-ui.spec.d.ts +1 -0
  134. package/dist/tests/8.11/optimize-sharing-alerts-export-ui.spec.js +198 -0
  135. package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-audit-log.spec.d.ts +1 -0
  136. package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-audit-log.spec.js +146 -0
  137. package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-call-tools.spec.d.ts +1 -0
  138. package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-call-tools.spec.js +208 -0
  139. package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-e2e-flow.spec.d.ts +1 -0
  140. package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-e2e-flow.spec.js +151 -0
  141. package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-list-tools.spec.d.ts +1 -0
  142. package/dist/tests/8.11/orchestration-cluster-mcp-server/api/mcp-processes-list-tools.spec.js +242 -0
  143. package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.d.ts +1 -0
  144. package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-cluster-tools.spec.js +75 -0
  145. package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-incident-tools.spec.d.ts +1 -0
  146. package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-incident-tools.spec.js +123 -0
  147. package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.d.ts +1 -0
  148. package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-user-task-tools.spec.js +151 -0
  149. package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-variable-tools.spec.d.ts +1 -0
  150. package/dist/tests/8.11/orchestration-cluster-mcp-server/mcp-variable-tools.spec.js +123 -0
  151. package/dist/tests/8.11/play.spec.d.ts +1 -0
  152. package/dist/tests/8.11/play.spec.js +93 -0
  153. package/dist/tests/8.11/rba-enabled-v2-user-flows.spec.d.ts +1 -0
  154. package/dist/tests/8.11/rba-enabled-v2-user-flows.spec.js +495 -0
  155. package/dist/tests/8.11/saas-migration-path-user-flows.spec.d.ts +1 -0
  156. package/dist/tests/8.11/saas-migration-path-user-flows.spec.js +133 -0
  157. package/dist/tests/8.11/smoke-tests.spec.d.ts +1 -0
  158. package/dist/tests/8.11/smoke-tests.spec.js +339 -0
  159. package/dist/tests/8.11/test-setup.spec.d.ts +1 -0
  160. package/dist/tests/8.11/test-setup.spec.js +256 -0
  161. package/dist/tests/8.11/web-modeler-user-flows.spec.d.ts +1 -0
  162. package/dist/tests/8.11/web-modeler-user-flows.spec.js +523 -0
  163. package/dist/utils/clusterVersions.d.ts +2 -1
  164. package/dist/utils/clusterVersions.js +1 -0
  165. package/dist/utils/consoleApiHelpers.js +1 -0
  166. package/package.json +1 -1
  167. package/playwright.config.ts +10 -0
@@ -0,0 +1,150 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OperateHomePage = void 0;
4
+ const test_1 = require("@playwright/test");
5
+ const clickLocatorWithRetry_1 = require("../../utils/assertionHelpers/clickLocatorWithRetry");
6
+ const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
7
+ class OperateHomePage {
8
+ page;
9
+ operateHeader;
10
+ processesTab;
11
+ informationDialog;
12
+ editVariableButton;
13
+ variableValueInput;
14
+ saveVariableButton;
15
+ editVariableSpinner;
16
+ operateBanner;
17
+ noPermissionsMessage;
18
+ processPageHeading;
19
+ applyButton;
20
+ openButton;
21
+ closeButton;
22
+ messageBanner;
23
+ constructor(page) {
24
+ this.page = page;
25
+ this.operateHeader = page.getByRole('link', { name: 'Camunda Operate' });
26
+ this.processesTab = page.getByRole('link', {
27
+ name: 'Processes',
28
+ exact: true,
29
+ });
30
+ this.informationDialog = page.getByRole('button', {
31
+ name: 'Close this dialog',
32
+ });
33
+ this.editVariableButton = page.getByTestId('edit-variable-button');
34
+ this.variableValueInput = page.getByTestId('edit-variable-value');
35
+ this.saveVariableButton = page.getByRole('button', {
36
+ name: 'Save variable',
37
+ });
38
+ this.editVariableSpinner = page
39
+ .getByTestId('variable-operation-spinner')
40
+ .locator('circle')
41
+ .nth(1);
42
+ // Operate's Design System navigation ("nav V2", default-on since
43
+ // camunda/camunda `feat: enable Design System navigation in Operate`)
44
+ // renders the logo link as "Camunda Operate"; the legacy header used
45
+ // "Camunda logo Operate" and stays available as a fallback, so match
46
+ // either so the banner gate works whichever navigation is served.
47
+ this.operateBanner = page
48
+ .getByRole('link', { name: 'Camunda logo Operate' })
49
+ .or(page.getByRole('link', { name: 'Camunda Operate' }));
50
+ this.noPermissionsMessage = page
51
+ .getByText('You don’t have access to this component')
52
+ .first();
53
+ this.processPageHeading = page
54
+ .getByTestId('expanded-panel')
55
+ .getByText('Process', { exact: true });
56
+ this.applyButton = page.getByRole('button', { name: 'Apply' });
57
+ this.openButton = page
58
+ .getByTestId('variable-testVariable')
59
+ .getByLabel('Open');
60
+ this.closeButton = page.getByRole('button', { name: 'Got it - Dismiss' });
61
+ this.messageBanner = page.getByRole('button', { name: 'Close' });
62
+ }
63
+ async clickProcessesTab() {
64
+ // `clickLocatorWithRetry` stops at whichever of `maxRetries` and
65
+ // `totalTimeout` is reached first. One failing attempt here costs up to
66
+ // ~47s (the banner pre-action plus the 30s visibility waits), so a 120s
67
+ // budget cut the 5 configured retries down to 3 — this method is reached
68
+ // right after switching apps, while the cluster SSO hand-off into Operate
69
+ // is often still in flight, and it reported "Failed to click locator
70
+ // getByRole('link', { name: 'Processes', exact: true }) after 3 attempts"
71
+ // after barely two minutes. Give the configured retries room to run.
72
+ await (0, clickLocatorWithRetry_1.clickLocatorWithRetry)(this.page, this.processesTab, {
73
+ preAction: async () => {
74
+ await this.clickMessageBanner();
75
+ },
76
+ maxRetries: 5,
77
+ totalTimeout: 300000,
78
+ visibilityTimeout: 30000,
79
+ });
80
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.processPageHeading, {
81
+ preAction: async () => {
82
+ await (0, test_1.expect)(this.processesTab).toBeVisible({ timeout: 10000 });
83
+ await this.processesTab.click({ timeout: 10000 });
84
+ },
85
+ // The Processes view routinely needs longer than this helper's default
86
+ // 10s per attempt to render on a loaded cluster — the same 30s the tab
87
+ // click above already assumes for this nav, and what SM-8.10 uses for
88
+ // this very assertion. With the default, all 5 attempts could expire
89
+ // inside ~1 min of the 5 min budget and report "Failed to assert
90
+ // visibility locator getByTestId('expanded-panel').getByText('Process',
91
+ // { exact: true }) after 5 attempts" while the view was still on its way.
92
+ visibilityTimeout: 30000,
93
+ // Re-clicking the tab cannot help a view that never rendered, so reload
94
+ // between attempts and let each one re-ask Operate for the page.
95
+ postAction: async () => {
96
+ await this.page.reload();
97
+ },
98
+ maxRetries: 5,
99
+ totalTimeout: 300000,
100
+ });
101
+ }
102
+ async closeInformationDialog() {
103
+ await this.informationDialog.click();
104
+ }
105
+ async clickEditVariableButton(variableName) {
106
+ const editVariableButton = 'variable-' + variableName;
107
+ await this.page.getByTestId(editVariableButton).getByLabel('Edit').click();
108
+ }
109
+ async clickVariableValueInput() {
110
+ await this.variableValueInput.click();
111
+ }
112
+ async clearVariableValueInput() {
113
+ await this.variableValueInput.clear();
114
+ }
115
+ async fillVariableValueInput(newValue) {
116
+ await this.openButton.click();
117
+ const editor = this.page
118
+ .getByLabel('Edit Variable "testVariable"')
119
+ .getByRole('code');
120
+ await (0, test_1.expect)(editor).toBeVisible({ timeout: 30000 });
121
+ await editor.click();
122
+ // The JSON editor re-syncs its document from the React value prop on a
123
+ // debounce, which parks the caret at the end of the line. keyboard.type()
124
+ // spends one keystroke per character, so that re-sync lands mid-word and
125
+ // the tail is typed past the closing quote — the nightly recorded
126
+ // `"updatedV"alue` and the local reproduce `"upd"edale`, invalid JSON that
127
+ // Apply refuses, leaving the modal open on the old value. Select-all then
128
+ // insertText commits the whole value in a single input event, so no
129
+ // re-sync can interleave.
130
+ await this.page.keyboard.press('Control+A');
131
+ await this.page.keyboard.press('Backspace');
132
+ const jsonValue = JSON.stringify(newValue);
133
+ await this.page.keyboard.insertText(jsonValue);
134
+ await (0, test_1.expect)(editor).toContainText(jsonValue, { timeout: 10000 });
135
+ }
136
+ async clickSaveVariableButton() {
137
+ await this.applyButton.click();
138
+ }
139
+ async clickMessageBanner() {
140
+ try {
141
+ const button = this.messageBanner.or(this.closeButton).first();
142
+ await (0, test_1.expect)(button).toBeVisible({ timeout: 15000 });
143
+ await button.click();
144
+ }
145
+ catch {
146
+ console.log('No banner or close button found to click');
147
+ }
148
+ }
149
+ }
150
+ exports.OperateHomePage = OperateHomePage;
@@ -0,0 +1,43 @@
1
+ import { Page, Locator, BrowserContext } from '@playwright/test';
2
+ type InstanceUrlWatcher = () => string | undefined;
3
+ declare function watchOperateInstanceUrl(context: BrowserContext): InstanceUrlWatcher;
4
+ declare class OperateProcessInstancePage {
5
+ private page;
6
+ private instanceUrl;
7
+ readonly diagram: Locator;
8
+ readonly completedIcon: Locator;
9
+ readonly diagramSpinner: Locator;
10
+ readonly activeIcon: Locator;
11
+ readonly incidentIcon: Locator;
12
+ readonly incidentsBanner: Locator;
13
+ readonly userTaskOpenTasklistLink: Locator;
14
+ readonly taskDetailsPopOver: Locator;
15
+ readonly connectorResultVariableName: (name: string) => Locator;
16
+ readonly variablesList: Locator;
17
+ readonly messageVariable: Locator;
18
+ readonly whatsNewPopUp: Locator;
19
+ readonly gotItButton: Locator;
20
+ constructor(page: Page);
21
+ connectorResultVariableValue(variableName: string): Promise<Locator>;
22
+ rememberInstanceUrl(timeout?: number, watchedUrl?: InstanceUrlWatcher): Promise<void>;
23
+ private hasBouncedToList;
24
+ private waitForAuthToSettle;
25
+ private isStateIconWait;
26
+ private describeIncident;
27
+ private describeRenderedState;
28
+ waitForInstanceLocator(locator: Locator, description: string, totalTimeout?: number, pollTimeout?: number): Promise<void>;
29
+ dismissWhatsNewIfVisible(): Promise<void>;
30
+ closePopOverIfVisible(): Promise<void>;
31
+ private clusterHost;
32
+ private reenterViaConsole;
33
+ reload(): Promise<boolean>;
34
+ assertProcessCompleteStatusWithRetry(timeout?: number, maxRetries?: number): Promise<void>;
35
+ assertProcessVariableIsVisible(variableName: string, timeout?: number, maxRetries?: number): Promise<void>;
36
+ assertProcessVariableContainsText(variableName: string, text: string): Promise<void>;
37
+ assertProcessVariableHasDocumentCount(variableName: string, count: number, softFail?: boolean): Promise<void>;
38
+ clickDiagramTask(taskName: string): Promise<void>;
39
+ assertActiveTokenIsPresent(): Promise<void>;
40
+ assertDetailsPopoverIsVisible(): Promise<void>;
41
+ assertBusinessIdVisible(businessId: string): Promise<void>;
42
+ }
43
+ export { OperateProcessInstancePage, watchOperateInstanceUrl };