@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
|
-
//
|
|
255
|
-
//
|
|
256
|
-
//
|
|
257
|
-
//
|
|
258
|
-
//
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
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
|
-
|
|
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 ||
|