@camunda/e2e-test-suite 0.0.359 → 0.0.360

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.
@@ -146,7 +146,7 @@ _8_8_1.test.describe('Smoke Tests', () => {
146
146
  await (0, test_1.expect)(optimizeTabOptimizeReportPage.oneUserTaskInstance).toHaveCount(2, { timeout: 60000 });
147
147
  });
148
148
  });
149
- (0, _8_8_1.test)('Most Common REST Connector User Flow', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
149
+ (0, _8_8_1.test)('Most Common REST Connector User Flow', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }) => {
150
150
  _8_8_1.test.slow();
151
151
  const randomString = useFixedNames
152
152
  ? 'UpgradeTest'
@@ -169,17 +169,18 @@ _8_8_1.test.describe('Smoke Tests', () => {
169
169
  await modelerCreatePage.runProcessInstance(clusterName);
170
170
  });
171
171
  await _8_8_1.test.step('View Process Instance in Operate, assert it completes and assert result expression', async () => {
172
- await appsPage.clickCamundaApps();
173
- await appsPage.clickOperate(clusterName);
174
- await operateHomePage.clickProcessesTab();
175
- await operateProcessesPage.clickProcessCompletedCheckbox();
176
- await operateProcessesPage.clickProcessInstanceLink(processName);
177
- await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateProcessInstancePage.completedIcon, { totalTimeout: 60000, maxRetries: 5 });
178
- await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateProcessInstancePage.variablesList, { totalTimeout: 60000, maxRetries: 7 });
179
- await (0, test_1.expect)(operateProcessInstancePage.connectorResultVariableName('message')).toBeVisible({
172
+ await (0, test_1.expect)(modelerCreatePage.viewProcessInstanceLink).toBeVisible({
173
+ timeout: 60000,
174
+ });
175
+ await modelerCreatePage.clickViewProcessInstanceLink();
176
+ const operateTab = await page.waitForEvent('popup', { timeout: 30000 });
177
+ const operateTabProcessInstancePage = new OperateProcessInstancePage_1.OperateProcessInstancePage(operateTab);
178
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateTabProcessInstancePage.completedIcon, { totalTimeout: 60000, maxRetries: 5 });
179
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateTabProcessInstancePage.variablesList, { totalTimeout: 60000, maxRetries: 7 });
180
+ await (0, test_1.expect)(operateTabProcessInstancePage.connectorResultVariableName('message')).toBeVisible({
180
181
  timeout: 15000,
181
182
  });
182
- await (0, test_1.expect)(operateProcessInstancePage
183
+ await (0, test_1.expect)(operateTabProcessInstancePage
183
184
  .connectorResultVariableName('message')
184
185
  .getByText('"Message from Mock!"')).toBeVisible({
185
186
  timeout: 15000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.359",
3
+ "version": "0.0.360",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",