@camunda/e2e-test-suite 0.0.919 → 0.0.921
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.
|
@@ -890,10 +890,14 @@ class ModelerCreatePage {
|
|
|
890
890
|
.getByText('Deploy process')
|
|
891
891
|
.locator('..')
|
|
892
892
|
.getByRole('button', { name: 'Deploy' });
|
|
893
|
-
//
|
|
894
|
-
//
|
|
895
|
-
// the test id
|
|
896
|
-
|
|
893
|
+
// camunda-hub a90fd06 renamed this step to "Configure test case" AND
|
|
894
|
+
// renamed its test id to `configure-test-case-button` (see
|
|
895
|
+
// TestMode/ConfigurationOverlay/index.tsx). Accept the pre-rename test id
|
|
896
|
+
// too so the page object works either side of the rename.
|
|
897
|
+
const configureScenarioButton = this.page
|
|
898
|
+
.getByTestId('configure-test-case-button')
|
|
899
|
+
.or(this.page.getByTestId('play-configuration-configure-scenario-button'))
|
|
900
|
+
.first();
|
|
897
901
|
// Wait up to 15s for EITHER the new-flow setup panel OR the legacy Continue
|
|
898
902
|
// button to appear. Using .or() avoids separate sequential timeouts that would
|
|
899
903
|
// both expire before the page finishes loading on a slow cluster.
|
|
@@ -65,12 +65,16 @@ class PlayPage {
|
|
|
65
65
|
this.configureTestPanelStartButton = this.configureTestPanel.getByRole('button', { name: /^Start( with .*)?$/, exact: false });
|
|
66
66
|
this.notifications = page.locator('.cds--toast-notification');
|
|
67
67
|
// Hub PR #25327 (2026-06-22) removed the standalone "Save scenario" modal
|
|
68
|
-
// and moved recording into the
|
|
69
|
-
//
|
|
70
|
-
// "
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
|
|
68
|
+
// and moved recording into the side panel's detail view. The detail view
|
|
69
|
+
// renders a TextInput plus a primary "Save test case" button and emits a
|
|
70
|
+
// "Test case saved" toast via @camunda/c4-notifications — see
|
|
71
|
+
// TestCasesPanel/TestCases/TestCaseDetail/{index.tsx,use-test-case-editor.ts}.
|
|
72
|
+
// camunda-hub a90fd06 renamed the input id from "scenario-name" to
|
|
73
|
+
// "test-case-name"; accept the pre-rename id too.
|
|
74
|
+
this.scenarioDetailNameInput = page
|
|
75
|
+
.locator('input#test-case-name')
|
|
76
|
+
.or(page.locator('input#scenario-name'))
|
|
77
|
+
.first();
|
|
74
78
|
this.scenarioDetailSaveButton = page.getByRole('button', {
|
|
75
79
|
name: /^Save (scenario|test case)$/i,
|
|
76
80
|
});
|
|
@@ -40,8 +40,7 @@ c8Run_8_9_1.test.describe('API tests for V2 @tasklistV2', () => {
|
|
|
40
40
|
const incidentsList = await request.post('/v2/incidents/search');
|
|
41
41
|
await (0, apiHelpers_1.assertResponseStatus)(incidentsList, 200);
|
|
42
42
|
});
|
|
43
|
-
|
|
44
|
-
c8Run_8_9_1.test.skip('Get connectors status', async ({ request }) => {
|
|
43
|
+
(0, c8Run_8_9_1.test)('Get connectors status', async ({ request }) => {
|
|
45
44
|
await (0, test_1.expect)(async () => {
|
|
46
45
|
const connectorsStatus = await request.get(process.env.C8RUN_CONNECTORS_API_URL_LATEST + '/actuator/health');
|
|
47
46
|
await (0, apiHelpers_1.assertResponseStatus)(connectorsStatus, 200);
|
|
@@ -80,8 +80,7 @@ c8Run_8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
80
80
|
});
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
-
|
|
84
|
-
c8Run_8_9_1.test.skip('Start Event Webhook Connector No Auth User Flow', async ({ page, request, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
83
|
+
(0, c8Run_8_9_1.test)('Start Event Webhook Connector No Auth User Flow', async ({ page, request, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
85
84
|
await c8Run_8_9_1.test.step('Make Authorization Request', async () => {
|
|
86
85
|
await (0, apiHelpers_1.waitForInboundWebhookRegistered)('test-webhook-id');
|
|
87
86
|
await (0, test_1.expect)(async () => {
|
|
@@ -99,8 +98,7 @@ c8Run_8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
99
98
|
await operateProcessInstancePage.completedIconAssertion();
|
|
100
99
|
});
|
|
101
100
|
});
|
|
102
|
-
|
|
103
|
-
c8Run_8_9_1.test.skip('Intermediate Event Webhook Connector No Auth User Flow', async ({ request, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
101
|
+
(0, c8Run_8_9_1.test)('Intermediate Event Webhook Connector No Auth User Flow', async ({ request, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
104
102
|
await c8Run_8_9_1.test.step('Make Authorization Request', async () => {
|
|
105
103
|
await (0, apiHelpers_1.waitForInboundWebhookRegistered)('test-webhook-intermediate');
|
|
106
104
|
await (0, test_1.expect)(async () => {
|