@camunda/e2e-test-suite 0.0.964 → 0.0.966

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.
@@ -251,16 +251,21 @@ class PlayPage {
251
251
  await (0, test_1.expect)(this.scenarioSavedToast).toBeVisible({ timeout: 30000 });
252
252
  }
253
253
  async assertSavedScenarioNameInPanel(scenarioName) {
254
- // After save the detail view stays open on the just-saved test case. It
255
- // renders the name as a TestName heading only when the environment is
256
- // read-only; otherwise the name lives in the editable Name field (see
257
- // TestCaseDetail/index.tsx, gated on testEnvironmentStore.isReadOnly).
258
- // Assert the exact name either way.
259
- const heading = this.page.getByRole('heading', {
260
- name: scenarioName,
261
- exact: true,
262
- });
263
- if (await heading.isVisible({ timeout: 3000 }).catch(() => false)) {
254
+ // A successful save tears the detail view down: use-test-case-editor.ts
255
+ // saveTest() calls resetForm() + testCasesStore.resetTestCaseDetail(),
256
+ // which clears selectedTestCase and stops recording, so the store's
257
+ // isTestCaseDetailVisible turns false and the panel falls back to the
258
+ // saved test-case list. The name therefore lands on one of three
259
+ // surfaces: a list row, the read-only TestName heading, or (pre-reset
260
+ // hub builds) the still-editable Name field.
261
+ const savedName = this.getScenarioRow(scenarioName)
262
+ .or(this.page.getByRole('heading', { name: scenarioName, exact: true }))
263
+ .first();
264
+ const onListOrHeading = await savedName
265
+ .waitFor({ state: 'visible', timeout: 30000 })
266
+ .then(() => true)
267
+ .catch(() => false);
268
+ if (onListOrHeading) {
264
269
  return;
265
270
  }
266
271
  // Updating an existing test case does NOT always leave the detail view
@@ -116,7 +116,8 @@ if (process.env.IS_DS === 'true') {
116
116
  await operateProcessInstancePage.assertProcessVariableContainsText('Upload_Files', 'aws');
117
117
  });
118
118
  });
119
- (0, SM_8_9_1.test)('Document Handling Connectors User Flow - AWS @tasklistV2', async ({ page, navigationPage, modelerHomePage, modelerCreatePage, operateHomePage, operateProcessesPage, connectorMarketplacePage, operateProcessInstancePage, ocIdentityHomePage, ocIdentityRolesPage, }) => {
119
+ // Skipped due to bug #8162: https://github.com/camunda/connectors/issues/8162
120
+ SM_8_9_1.test.skip('Document Handling Connectors User Flow - AWS @tasklistV2', async ({ page, navigationPage, modelerHomePage, modelerCreatePage, operateHomePage, operateProcessesPage, connectorMarketplacePage, operateProcessInstancePage, ocIdentityHomePage, ocIdentityRolesPage, }) => {
120
121
  const processName = 'Document_Handling_Connectors_User_Flow_AWS_Process' +
121
122
  (await (0, _setup_1.generateRandomStringAsync)(3));
122
123
  const baseURL = process.env.PLAYWRIGHT_BASE_URL ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.964",
3
+ "version": "0.0.966",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",