@camunda/e2e-test-suite 0.0.1325 → 0.0.1326
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.
- package/.github/c8_versions.json +2 -1
- package/README.md +3 -0
- package/dist/fixtures/c8Run-8.11.d.ts +20 -0
- package/dist/fixtures/c8Run-8.11.js +56 -0
- package/dist/pages/c8Run-8.11/OperateHomePage.d.ts +22 -0
- package/dist/pages/c8Run-8.11/OperateHomePage.js +154 -0
- package/dist/pages/c8Run-8.11/OperateLoginPage.d.ts +14 -0
- package/dist/pages/c8Run-8.11/OperateLoginPage.js +37 -0
- package/dist/pages/c8Run-8.11/OperateProcessInstancePage.d.ts +28 -0
- package/dist/pages/c8Run-8.11/OperateProcessInstancePage.js +122 -0
- package/dist/pages/c8Run-8.11/OperateProcessesPage.d.ts +22 -0
- package/dist/pages/c8Run-8.11/OperateProcessesPage.js +109 -0
- package/dist/pages/c8Run-8.11/TaskDetailsPage.d.ts +65 -0
- package/dist/pages/c8Run-8.11/TaskDetailsPage.js +246 -0
- package/dist/pages/c8Run-8.11/TaskListLoginPage.d.ts +16 -0
- package/dist/pages/c8Run-8.11/TaskListLoginPage.js +52 -0
- package/dist/pages/c8Run-8.11/TaskPanelPage.d.ts +23 -0
- package/dist/pages/c8Run-8.11/TaskPanelPage.js +167 -0
- package/dist/pages/c8Run-8.11/UtilitiesPage.d.ts +8 -0
- package/dist/pages/c8Run-8.11/UtilitiesPage.js +114 -0
- package/dist/tests/c8Run-8.11/api-tests-v2.spec.d.ts +1 -0
- package/dist/tests/c8Run-8.11/api-tests-v2.spec.js +57 -0
- package/dist/tests/c8Run-8.11/connectors-user-flows.spec.d.ts +1 -0
- package/dist/tests/c8Run-8.11/connectors-user-flows.spec.js +120 -0
- package/dist/tests/c8Run-8.11/hto-user-flows.spec.d.ts +1 -0
- package/dist/tests/c8Run-8.11/hto-user-flows.spec.js +166 -0
- package/dist/tests/c8Run-8.11/login.spec.d.ts +1 -0
- package/dist/tests/c8Run-8.11/login.spec.js +21 -0
- package/dist/tests/c8Run-8.11/mcp-connector-authentication.spec.d.ts +1 -0
- package/dist/tests/c8Run-8.11/mcp-connector-authentication.spec.js +75 -0
- package/dist/tests/c8Run-8.11/mcp-meta.spec.d.ts +1 -0
- package/dist/tests/c8Run-8.11/mcp-meta.spec.js +73 -0
- package/dist/tests/c8Run-8.11/mcp-user-flows.spec.d.ts +1 -0
- package/dist/tests/c8Run-8.11/mcp-user-flows.spec.js +110 -0
- package/package.json +1 -1
- package/playwright.config.ts +13 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
|
|
4
|
+
* one or more contributor license agreements. See the NOTICE file distributed
|
|
5
|
+
* with this work for additional information regarding copyright ownership.
|
|
6
|
+
* Licensed under the Camunda License 1.0. You may not use this file
|
|
7
|
+
* except in compliance with the Camunda License 1.0.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.completeTaskWithRetry = exports.validateURL = exports.assertLocatorVisibleWithRetry = exports.openUserTaskOfProcessInstance = exports.navigateToApp = void 0;
|
|
11
|
+
const test_1 = require("@playwright/test");
|
|
12
|
+
const sleep_1 = require("../../utils/sleep");
|
|
13
|
+
async function navigateToApp(page, appName) {
|
|
14
|
+
await page.goto('/' + appName.toLowerCase() + '/login');
|
|
15
|
+
}
|
|
16
|
+
exports.navigateToApp = navigateToApp;
|
|
17
|
+
async function openUserTaskOfProcessInstance(page, request, processInstanceKey, maxRetries = 30, retryDelayMs = 2000) {
|
|
18
|
+
// A task card shows only the task and process display names (Task.tsx in
|
|
19
|
+
// camunda/camunda), so nothing in the Tasklist UI tells two instances of the
|
|
20
|
+
// same process apart -- opening "the first card named X" lands on whichever
|
|
21
|
+
// instance happens to sort first. Resolve the user task of THIS instance
|
|
22
|
+
// over the v2 API instead (c8Run serves it unauthenticated:
|
|
23
|
+
// camunda.security.authentication.unprotected-api is true in
|
|
24
|
+
// c8run/configuration/application.yaml, and api-tests-v2.spec.ts calls
|
|
25
|
+
// /v2/user-tasks/search the same way) and open it at its own route,
|
|
26
|
+
// /tasklist/{userTaskKey}. Retrying covers the export lag between creating
|
|
27
|
+
// the instance and its user task becoming searchable.
|
|
28
|
+
for (let attempt = 1; attempt <= maxRetries; attempt++) {
|
|
29
|
+
const response = await request.post('/v2/user-tasks/search', {
|
|
30
|
+
data: { filter: { processInstanceKey } },
|
|
31
|
+
});
|
|
32
|
+
if (response.ok()) {
|
|
33
|
+
const body = await response.json();
|
|
34
|
+
const userTaskKey = body?.items?.[0]?.userTaskKey;
|
|
35
|
+
if (userTaskKey != null) {
|
|
36
|
+
await page.goto('/tasklist/' + userTaskKey);
|
|
37
|
+
return String(userTaskKey);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
await (0, sleep_1.sleep)(retryDelayMs);
|
|
41
|
+
}
|
|
42
|
+
throw new Error(`No user task found for process instance ${processInstanceKey} after ` +
|
|
43
|
+
`${maxRetries} attempts.`);
|
|
44
|
+
}
|
|
45
|
+
exports.openUserTaskOfProcessInstance = openUserTaskOfProcessInstance;
|
|
46
|
+
async function assertLocatorVisibleWithRetry(page, locator, text, timeout = 20000, maxRetries = 3) {
|
|
47
|
+
for (let attempt = 0; attempt < maxRetries; attempt++) {
|
|
48
|
+
try {
|
|
49
|
+
await (0, test_1.expect)(locator).toBeVisible({
|
|
50
|
+
timeout: timeout,
|
|
51
|
+
});
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
catch (error) {
|
|
55
|
+
if (attempt < maxRetries - 1) {
|
|
56
|
+
console.warn(`Attempt ${attempt + 1} failed for asserting ${text}. Retrying...`);
|
|
57
|
+
await page.reload();
|
|
58
|
+
await (0, sleep_1.sleep)(5000);
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
throw new Error(`Assertion failed after ${maxRetries} attempts`);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.assertLocatorVisibleWithRetry = assertLocatorVisibleWithRetry;
|
|
67
|
+
async function validateURL(page, URL) {
|
|
68
|
+
(0, test_1.expect)(page).toHaveURL(URL);
|
|
69
|
+
}
|
|
70
|
+
exports.validateURL = validateURL;
|
|
71
|
+
async function completeTaskWithRetry(taskPanelPage, taskDetailsPage, taskName, taskPriority, userTaskName = '', textInput = '', maxRetries = 5) {
|
|
72
|
+
for (let attempt = 0; attempt < maxRetries; attempt++) {
|
|
73
|
+
try {
|
|
74
|
+
const userTaskKey = await taskPanelPage.openTask(taskName, userTaskName);
|
|
75
|
+
await (0, sleep_1.sleep)(500);
|
|
76
|
+
if (!(await taskDetailsPage.assignedToMeText.isVisible())) {
|
|
77
|
+
await taskDetailsPage.clickAssignToMeButton();
|
|
78
|
+
}
|
|
79
|
+
// The details panel is fetched after the task is opened, so the
|
|
80
|
+
// priority label can lag the click by more than Playwright's 5s
|
|
81
|
+
// default expect timeout on a loaded c8Run runner. Every other wait
|
|
82
|
+
// in this helper already carries an explicit, generous timeout.
|
|
83
|
+
await (0, test_1.expect)(taskDetailsPage.detailsPanel.getByText(taskPriority)).toBeVisible({ timeout: 30000 });
|
|
84
|
+
if (textInput != '') {
|
|
85
|
+
await taskDetailsPage.clickTextInput();
|
|
86
|
+
await taskDetailsPage.fillTextInput(textInput);
|
|
87
|
+
}
|
|
88
|
+
await taskDetailsPage.taskCompletedBanner.waitFor({ state: 'hidden' });
|
|
89
|
+
await taskDetailsPage.clickCompleteTaskButton();
|
|
90
|
+
// clickCompleteTaskButton() already waits for the "Task completed"
|
|
91
|
+
// banner, so the completion itself is confirmed there. Counting the
|
|
92
|
+
// open cards that share this task's name cannot confirm it: the list
|
|
93
|
+
// is virtualised, so the count only ever covers the scrolled-in
|
|
94
|
+
// window, and any concurrently running copy of this spec completes
|
|
95
|
+
// tasks with the same name -- the count can stay flat or drop by two,
|
|
96
|
+
// and a false failure here sends the loop round to open and complete
|
|
97
|
+
// a second task. Wait for this exact card, keyed on its userTaskKey,
|
|
98
|
+
// to leave the open list instead.
|
|
99
|
+
await (0, test_1.expect)(taskPanelPage.availableTasks.locator(`[data-testid="task-${userTaskKey}"]`)).toHaveCount(0, { timeout: 60000 });
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
catch (error) {
|
|
103
|
+
if (attempt < maxRetries - 1) {
|
|
104
|
+
console.warn(`Attempt ${attempt + 1} failed for completing task ${taskName}. Retrying...`);
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
console.error(error);
|
|
108
|
+
throw new Error(`Completing task ${taskName} failed after ${maxRetries} ` +
|
|
109
|
+
`attempts: ${error}`);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.completeTaskWithRetry = completeTaskWithRetry;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const c8Run_8_11_1 = require("../../fixtures/c8Run-8.11");
|
|
4
|
+
const test_1 = require("@playwright/test");
|
|
5
|
+
const apiHelpers_1 = require("../../utils/apiHelpers");
|
|
6
|
+
const zeebeClient_1 = require("../../utils/zeebeClient");
|
|
7
|
+
const sleep_1 = require("../../utils/sleep");
|
|
8
|
+
const constants_1 = require("../../utils/constants");
|
|
9
|
+
c8Run_8_11_1.test.beforeAll(async () => {
|
|
10
|
+
await Promise.all([
|
|
11
|
+
(0, zeebeClient_1.deploy)('./resources/User_Task_Process_With_Form.bpmn'),
|
|
12
|
+
(0, zeebeClient_1.deploy)('./resources/New Form.form'),
|
|
13
|
+
(0, zeebeClient_1.deploy)('./resources/User_Task_Process_With_Form.bpmn'),
|
|
14
|
+
(0, zeebeClient_1.deploy)('./resources/Start_Form_Process.bpmn'),
|
|
15
|
+
]);
|
|
16
|
+
await Promise.all([
|
|
17
|
+
(0, zeebeClient_1.createInstances)('Form_User_Task', 1, 3),
|
|
18
|
+
(0, zeebeClient_1.createInstances)('Start_Form_Process', 1, 1),
|
|
19
|
+
]);
|
|
20
|
+
await (0, sleep_1.sleep)(10000);
|
|
21
|
+
});
|
|
22
|
+
c8Run_8_11_1.test.describe('API tests for V2 @tasklistV2', () => {
|
|
23
|
+
(0, c8Run_8_11_1.test)('Search for process definitions', async ({ request }) => {
|
|
24
|
+
const processDefinitionsList = await request.post('/v2/process-definitions/search');
|
|
25
|
+
await (0, apiHelpers_1.assertResponseStatus)(processDefinitionsList, 200);
|
|
26
|
+
});
|
|
27
|
+
(0, c8Run_8_11_1.test)('Search for process instances', async ({ request }) => {
|
|
28
|
+
const processInstancesList = await request.post('/v2/process-instances/search');
|
|
29
|
+
await (0, apiHelpers_1.assertResponseStatus)(processInstancesList, 200);
|
|
30
|
+
});
|
|
31
|
+
(0, c8Run_8_11_1.test)('Search for element-instances', async ({ request }) => {
|
|
32
|
+
const elementInstancesList = await request.post('/v2/element-instances/search');
|
|
33
|
+
await (0, apiHelpers_1.assertResponseStatus)(elementInstancesList, 200);
|
|
34
|
+
});
|
|
35
|
+
(0, c8Run_8_11_1.test)('Search for variables for process instances', async ({ request }) => {
|
|
36
|
+
const variablesInstancesList = await request.post('/v2/variables/search');
|
|
37
|
+
await (0, apiHelpers_1.assertResponseStatus)(variablesInstancesList, 200);
|
|
38
|
+
});
|
|
39
|
+
(0, c8Run_8_11_1.test)('Search for incidents', async ({ request }) => {
|
|
40
|
+
const incidentsList = await request.post('/v2/incidents/search');
|
|
41
|
+
await (0, apiHelpers_1.assertResponseStatus)(incidentsList, 200);
|
|
42
|
+
});
|
|
43
|
+
(0, c8Run_8_11_1.test)('Get connectors status', async ({ request }) => {
|
|
44
|
+
await (0, test_1.expect)(async () => {
|
|
45
|
+
const connectorsStatus = await request.get(process.env.C8RUN_CONNECTORS_API_URL_LATEST + '/actuator/health');
|
|
46
|
+
await (0, apiHelpers_1.assertResponseStatus)(connectorsStatus, 200);
|
|
47
|
+
}).toPass({ ...constants_1.defaultAssertionOptions, timeout: 120000 });
|
|
48
|
+
});
|
|
49
|
+
(0, c8Run_8_11_1.test)('Get a inbound connectors list', async ({ request }) => {
|
|
50
|
+
const connectorsInboundList = await request.get(process.env.C8RUN_CONNECTORS_API_URL_LATEST + '/inbound');
|
|
51
|
+
await (0, apiHelpers_1.assertResponseStatus)(connectorsInboundList, 200);
|
|
52
|
+
});
|
|
53
|
+
(0, c8Run_8_11_1.test)('Search for tasks', async ({ request }) => {
|
|
54
|
+
const taskList = await request.post('/v2/user-tasks/search');
|
|
55
|
+
(0, test_1.expect)(taskList.status()).toBe(200);
|
|
56
|
+
});
|
|
57
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const c8Run_8_11_1 = require("../../fixtures/c8Run-8.11");
|
|
4
|
+
const UtilitiesPage_1 = require("../../pages/c8Run-8.11/UtilitiesPage");
|
|
5
|
+
const _setup_1 = require("../../test-setup.js");
|
|
6
|
+
const zeebeClient_1 = require("../../utils/zeebeClient");
|
|
7
|
+
const test_1 = require("@playwright/test");
|
|
8
|
+
const sleep_1 = require("../../utils/sleep");
|
|
9
|
+
const constants_1 = require("../../utils/constants");
|
|
10
|
+
const apiHelpers_1 = require("../../utils/apiHelpers");
|
|
11
|
+
c8Run_8_11_1.test.beforeAll(async () => {
|
|
12
|
+
c8Run_8_11_1.test.setTimeout(18 * 60 * 1000);
|
|
13
|
+
await (0, apiHelpers_1.waitForConnectorsReady)(undefined, 900000);
|
|
14
|
+
await Promise.all([
|
|
15
|
+
(0, zeebeClient_1.deploy)('./resources/Basic_Auth_REST_Connector.bpmn'),
|
|
16
|
+
(0, zeebeClient_1.deploy)('./resources/Intermediate_Event_Webhook_Connector_No_Auth_Process.bpmn'),
|
|
17
|
+
(0, zeebeClient_1.deploy)('./resources/Start_Event_Webhook_Connector_No_Auth_Process.bpmn'),
|
|
18
|
+
(0, zeebeClient_1.deploy)('./resources/REST_Connector_Bearer_Auth_Process.bpmn'),
|
|
19
|
+
(0, zeebeClient_1.deploy)('./resources/REST_Connector_No_Auth_Process.bpmn'),
|
|
20
|
+
]);
|
|
21
|
+
await Promise.all([
|
|
22
|
+
(0, zeebeClient_1.createInstances)('REST_Connector_Basic_Auth_Process', 1, 1),
|
|
23
|
+
(0, zeebeClient_1.createInstances)('Intermediate_Event_Webhook_Connector_No_Auth_Process', 1, 1),
|
|
24
|
+
(0, zeebeClient_1.createInstances)('REST_Connector_No_Auth_Process', 1, 1),
|
|
25
|
+
(0, zeebeClient_1.createInstances)('REST_Connector_Bearer_Auth_Process', 1, 1),
|
|
26
|
+
]);
|
|
27
|
+
await (0, sleep_1.sleep)(5000);
|
|
28
|
+
});
|
|
29
|
+
c8Run_8_11_1.test.beforeEach(async ({ page, operateLoginPage, operateHomePage }) => {
|
|
30
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
31
|
+
await operateLoginPage.login('demo', 'demo');
|
|
32
|
+
await operateHomePage.operateBannerIsVisible();
|
|
33
|
+
});
|
|
34
|
+
c8Run_8_11_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
35
|
+
c8Run_8_11_1.test.afterEach(async ({ page }, testInfo) => {
|
|
36
|
+
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
37
|
+
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
38
|
+
});
|
|
39
|
+
// Skipped due to bug #7984: https://github.com/camunda/connectors/issues/7984
|
|
40
|
+
c8Run_8_11_1.test.skip('REST Connector No Auth User Flow', async ({ page, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
41
|
+
await c8Run_8_11_1.test.step('View Process Instance in Operate, assert it completes and assert result expression', async () => {
|
|
42
|
+
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 180000 });
|
|
43
|
+
await operateHomePage.clickProcessesTab();
|
|
44
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
45
|
+
await operateProcessesPage.clickProcessInstanceLink('REST_Connector_No_Auth_Process');
|
|
46
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
47
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, operateProcessInstancePage.messageVariable, 'Message variable');
|
|
48
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, operateProcessInstancePage.messageVariable.getByText('"Awesome!"'), 'Message variable text');
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
// Skipped due to bug #7984: https://github.com/camunda/connectors/issues/7984
|
|
52
|
+
c8Run_8_11_1.test.skip('REST Connector Basic Auth User Flow', async ({ page, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
53
|
+
await c8Run_8_11_1.test.step('View Process Instance in Operate, assert it completes and assert result expression', async () => {
|
|
54
|
+
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 180000 });
|
|
55
|
+
await operateHomePage.clickProcessesTab();
|
|
56
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
57
|
+
await operateProcessesPage.clickProcessInstanceLink('REST_Connector_Basic_Auth_Process');
|
|
58
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
59
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, operateProcessInstancePage.variablesList, 'Variable list');
|
|
60
|
+
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(page, operateProcessInstancePage.messageVariable.getByText('"Awesome!"'), 'Status variable text');
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
// Skipped due to bug #7984: https://github.com/camunda/connectors/issues/7984
|
|
64
|
+
c8Run_8_11_1.test.skip('REST Connector Bearer Token Auth User Flow', async ({ operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
65
|
+
await c8Run_8_11_1.test.step('View Process Instance in Operate, assert it completes and assert result expression', async () => {
|
|
66
|
+
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 180000 });
|
|
67
|
+
await operateHomePage.clickProcessesTab();
|
|
68
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
69
|
+
await operateProcessesPage.clickProcessInstanceLink('REST_Connector_Bearer_Auth_Process');
|
|
70
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
71
|
+
await (0, test_1.expect)(operateProcessInstancePage.variablesList).toBeVisible({
|
|
72
|
+
timeout: 60000,
|
|
73
|
+
});
|
|
74
|
+
await (0, test_1.expect)(operateProcessInstancePage.messageVariable.getByText('"Awesome!"')).toBeVisible({
|
|
75
|
+
timeout: 60000,
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
// Skipped due to bug #7984: https://github.com/camunda/connectors/issues/7984
|
|
80
|
+
c8Run_8_11_1.test.skip('Start Event Webhook Connector No Auth User Flow', async ({ page, request, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
81
|
+
await c8Run_8_11_1.test.step('Make Authorization Request', async () => {
|
|
82
|
+
await (0, sleep_1.sleep)(300000);
|
|
83
|
+
await (0, test_1.expect)(async () => {
|
|
84
|
+
const response = await request.get(process.env.C8RUN_CONNECTORS_API_URL_LATEST +
|
|
85
|
+
'/inbound/test-webhook-id');
|
|
86
|
+
await (0, test_1.expect)(response.status()).toBe(200);
|
|
87
|
+
}).toPass(constants_1.defaultAssertionOptions);
|
|
88
|
+
});
|
|
89
|
+
await c8Run_8_11_1.test.step('Assert Diagram Has Successfully Completed in Operate', async () => {
|
|
90
|
+
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 120000 });
|
|
91
|
+
await operateHomePage.clickProcessesTab();
|
|
92
|
+
await page.reload();
|
|
93
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
94
|
+
await operateProcessesPage.clickProcessInstanceLink('Start_Event_Webhook_Connector_No_Auth_Process');
|
|
95
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
// Skipped due to bug #7984: https://github.com/camunda/connectors/issues/7984
|
|
99
|
+
c8Run_8_11_1.test.skip('Intermediate Event Webhook Connector No Auth User Flow', async ({ request, operateHomePage, operateProcessInstancePage, operateProcessesPage, }) => {
|
|
100
|
+
await c8Run_8_11_1.test.step('Make Authorization Request', async () => {
|
|
101
|
+
await (0, sleep_1.sleep)(60000);
|
|
102
|
+
await (0, test_1.expect)(async () => {
|
|
103
|
+
const response = await request.post(process.env.C8RUN_CONNECTORS_API_URL_LATEST +
|
|
104
|
+
'/inbound/test-webhook-intermediate', {
|
|
105
|
+
data: {
|
|
106
|
+
test: 'test',
|
|
107
|
+
},
|
|
108
|
+
});
|
|
109
|
+
await (0, test_1.expect)(response.status()).toBe(200);
|
|
110
|
+
}).toPass(constants_1.defaultAssertionOptions);
|
|
111
|
+
});
|
|
112
|
+
await c8Run_8_11_1.test.step('Assert Diagram Has Successfully Completed in Operate', async () => {
|
|
113
|
+
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 120000 });
|
|
114
|
+
await operateHomePage.clickProcessesTab();
|
|
115
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
116
|
+
await operateProcessesPage.clickProcessInstanceLink('Intermediate_Event_Webhook_Connector_No_Auth_Process');
|
|
117
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const test_1 = require("@playwright/test");
|
|
4
|
+
const c8Run_8_11_1 = require("../../fixtures/c8Run-8.11");
|
|
5
|
+
const zeebeClient_1 = require("../../utils/zeebeClient");
|
|
6
|
+
const UtilitiesPage_1 = require("../../pages/c8Run-8.11/UtilitiesPage");
|
|
7
|
+
const sleep_1 = require("../../utils/sleep");
|
|
8
|
+
const _setup_1 = require("../../test-setup.js");
|
|
9
|
+
// The key of the User_Task_Editing_Variables instance this run owns. Operate
|
|
10
|
+
// and Tasklist both resolve that instance by key, so a second live instance of
|
|
11
|
+
// the same process -- another worker, a --repeat-each copy, a leftover from an
|
|
12
|
+
// earlier run -- can no longer be picked up by mistake.
|
|
13
|
+
let variableEditingInstanceKey;
|
|
14
|
+
c8Run_8_11_1.test.beforeAll(async () => {
|
|
15
|
+
await Promise.all([
|
|
16
|
+
(0, zeebeClient_1.deploy)('./resources/User_Task_Editing_Variables.bpmn'),
|
|
17
|
+
(0, zeebeClient_1.deploy)('./resources/Zeebe_User_Task.bpmn'),
|
|
18
|
+
(0, zeebeClient_1.deploy)('./resources/New Form.form'),
|
|
19
|
+
(0, zeebeClient_1.deploy)('./resources/User_Task_Process_With_Form_3.bpmn'),
|
|
20
|
+
(0, zeebeClient_1.deploy)('./resources/Start_Form_Process.bpmn'),
|
|
21
|
+
(0, zeebeClient_1.deploy)('./resources/Zeebe_User_Task_Process_With_Priority.bpmn'),
|
|
22
|
+
]);
|
|
23
|
+
const [, variableEditingInstances] = await Promise.all([
|
|
24
|
+
(0, zeebeClient_1.createInstances)('Zeebe_User_Task', 1, 1),
|
|
25
|
+
(0, zeebeClient_1.createInstances)('User_Task_Editing_Variables', 1, 1, {
|
|
26
|
+
testVariable: 'testValue',
|
|
27
|
+
}),
|
|
28
|
+
(0, zeebeClient_1.createInstances)('Form_User_Task_3', 1, 1),
|
|
29
|
+
(0, zeebeClient_1.createInstances)('Start_Form_Process', 1, 1),
|
|
30
|
+
(0, zeebeClient_1.createInstances)('Zeebe_User_Task_Process_With_Priority', 1, 1),
|
|
31
|
+
]);
|
|
32
|
+
variableEditingInstanceKey = String(variableEditingInstances[0].processInstanceKey);
|
|
33
|
+
await (0, sleep_1.sleep)(5000);
|
|
34
|
+
});
|
|
35
|
+
c8Run_8_11_1.test.describe('HTO User Flow Tests', () => {
|
|
36
|
+
c8Run_8_11_1.test.beforeEach(async ({ page, taskListLoginPage, taskPanelPage }) => {
|
|
37
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'tasklist');
|
|
38
|
+
await taskListLoginPage.login('demo', 'demo');
|
|
39
|
+
await taskPanelPage.taskListBannerIsVisible();
|
|
40
|
+
});
|
|
41
|
+
c8Run_8_11_1.test.afterEach(async ({ page }, testInfo) => {
|
|
42
|
+
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
43
|
+
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
44
|
+
});
|
|
45
|
+
(0, c8Run_8_11_1.test)('User Task Editing Variables Flow', async ({ page, request, operateHomePage, operateProcessesPage, operateProcessInstancePage, taskPanelPage, taskListLoginPage, operateLoginPage, taskDetailsPage, }) => {
|
|
46
|
+
await c8Run_8_11_1.test.step('View Process Instance in Operate, Edit the Variable & Assert the Variable is Updated in Tasklist', async () => {
|
|
47
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
48
|
+
await operateLoginPage.login('demo', 'demo');
|
|
49
|
+
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 180000 });
|
|
50
|
+
await operateHomePage.clickProcessesTab();
|
|
51
|
+
await operateProcessesPage.clickProcessInstanceLink('User_Task_Editing_Variables', variableEditingInstanceKey);
|
|
52
|
+
await operateProcessInstancePage.activeIconAssertion();
|
|
53
|
+
await (0, test_1.expect)(page.getByText('"testValue"')).toBeVisible({
|
|
54
|
+
timeout: 120000,
|
|
55
|
+
});
|
|
56
|
+
await (0, test_1.expect)(page.getByText('testVariable', { exact: true })).toBeVisible();
|
|
57
|
+
await operateHomePage.clickEditVariableButton('testVariable');
|
|
58
|
+
await operateHomePage.fillVariableValueInput('updatedValue');
|
|
59
|
+
await operateHomePage.clickSaveVariableButton();
|
|
60
|
+
await (0, test_1.expect)(operateHomePage.editVariableSpinner).not.toBeVisible({
|
|
61
|
+
timeout: 120000,
|
|
62
|
+
});
|
|
63
|
+
await (0, test_1.expect)(page.getByText('"testValue"')).not.toBeVisible({
|
|
64
|
+
timeout: 90000,
|
|
65
|
+
});
|
|
66
|
+
await (0, test_1.expect)(page.getByText('"updatedValue"')).toBeVisible({
|
|
67
|
+
timeout: 60000,
|
|
68
|
+
});
|
|
69
|
+
await (0, sleep_1.sleep)(10000);
|
|
70
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'tasklist');
|
|
71
|
+
await taskListLoginPage.login('demo', 'demo');
|
|
72
|
+
await taskPanelPage.taskListBannerIsVisible();
|
|
73
|
+
await (0, UtilitiesPage_1.openUserTaskOfProcessInstance)(page, request, variableEditingInstanceKey);
|
|
74
|
+
await taskDetailsPage.clickAssignToMeButton();
|
|
75
|
+
await (0, test_1.expect)(page.getByText('Assigning...')).not.toBeVisible({
|
|
76
|
+
timeout: 90000,
|
|
77
|
+
});
|
|
78
|
+
await (0, test_1.expect)(page.getByText('testVariable', { exact: true })).toBeVisible();
|
|
79
|
+
await taskDetailsPage.assertVariableValue('testVariable', '"updatedValue"');
|
|
80
|
+
await taskDetailsPage.clickCompleteTaskButton();
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
(0, c8Run_8_11_1.test)('Form.js Integration with User Task', async ({ taskDetailsPage, taskPanelPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, taskListLoginPage, operateLoginPage, page, }) => {
|
|
84
|
+
await c8Run_8_11_1.test.step('View Process Instance in Operate and complete User Task in Tasklist', async () => {
|
|
85
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
86
|
+
await operateLoginPage.login('demo', 'demo');
|
|
87
|
+
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 180000 });
|
|
88
|
+
await operateHomePage.clickProcessesTab();
|
|
89
|
+
await operateProcessesPage.clickProcessInstanceLink('Form_User_Task_3');
|
|
90
|
+
await operateProcessInstancePage.activeIconAssertion();
|
|
91
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'tasklist');
|
|
92
|
+
await taskListLoginPage.login('demo', 'demo');
|
|
93
|
+
await (0, UtilitiesPage_1.completeTaskWithRetry)(taskPanelPage, taskDetailsPage, 'Form_User_Task_3', 'Medium', 'Activity_1hj42el', 'Test User');
|
|
94
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
95
|
+
await operateLoginPage.login('demo', 'demo');
|
|
96
|
+
await operateHomePage.clickProcessesTab();
|
|
97
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
98
|
+
await (0, sleep_1.sleep)(1000);
|
|
99
|
+
await operateProcessesPage.clickProcessInstanceLink('Form_User_Task_3');
|
|
100
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
(0, c8Run_8_11_1.test)('Form.js Integration with Start form @tasklistV2', async ({ operateHomePage, operateProcessesPage, operateProcessInstancePage, page, operateLoginPage, }) => {
|
|
104
|
+
await c8Run_8_11_1.test.step('View Process Instance in Operate and check if process is complete', async () => {
|
|
105
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
106
|
+
await operateLoginPage.login('demo', 'demo');
|
|
107
|
+
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 180000 });
|
|
108
|
+
await operateHomePage.clickProcessesTab();
|
|
109
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
110
|
+
await (0, sleep_1.sleep)(1000);
|
|
111
|
+
await operateProcessesPage.clickProcessInstanceLink('Start_Form_Process');
|
|
112
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
(0, c8Run_8_11_1.test)('Zeebe User Task User Flow', async ({ page, operateHomePage, operateProcessesPage, operateProcessInstancePage, taskDetailsPage, taskPanelPage, operateLoginPage, taskListLoginPage, }) => {
|
|
116
|
+
await c8Run_8_11_1.test.step('View Process Instance in Operate, complete User Task in Tasklist', async () => {
|
|
117
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
118
|
+
await operateLoginPage.login('demo', 'demo');
|
|
119
|
+
await operateHomePage.clickProcessesTab();
|
|
120
|
+
await operateProcessesPage.clickProcessInstanceLink('Zeebe_User_Task');
|
|
121
|
+
await operateProcessInstancePage.activeIconAssertion();
|
|
122
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'tasklist');
|
|
123
|
+
await taskListLoginPage.login('demo', 'demo');
|
|
124
|
+
await (0, test_1.expect)(page.getByText('Zeebe_User_Task').first()).toBeVisible({
|
|
125
|
+
timeout: 60000,
|
|
126
|
+
});
|
|
127
|
+
await (0, UtilitiesPage_1.completeTaskWithRetry)(taskPanelPage, taskDetailsPage, 'Zeebe_User_Task', 'Medium');
|
|
128
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
129
|
+
await operateLoginPage.login('demo', 'demo');
|
|
130
|
+
await (0, test_1.expect)(operateHomePage.processesTab).toBeVisible({ timeout: 120000 });
|
|
131
|
+
await operateHomePage.clickProcessesTab();
|
|
132
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
133
|
+
await operateProcessesPage.clickProcessInstanceLink('Zeebe_User_Task');
|
|
134
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
(0, c8Run_8_11_1.test)('Zeebe User Task With Priority', async ({ page, operateHomePage, operateProcessesPage, operateProcessInstancePage, taskDetailsPage, taskPanelPage, operateLoginPage, }) => {
|
|
138
|
+
await c8Run_8_11_1.test.step('Complete User Task in Tasklist & assert process complete in Operate', async () => {
|
|
139
|
+
await (0, test_1.expect)(page.getByText('Zeebe_User_Task_Process_With_Priority').first()).toBeVisible({ timeout: 60000 });
|
|
140
|
+
await (0, UtilitiesPage_1.completeTaskWithRetry)(taskPanelPage, taskDetailsPage, 'priorityTest4', 'critical');
|
|
141
|
+
await (0, UtilitiesPage_1.completeTaskWithRetry)(taskPanelPage, taskDetailsPage, 'priorityTest3', 'high');
|
|
142
|
+
await (0, UtilitiesPage_1.completeTaskWithRetry)(taskPanelPage, taskDetailsPage, 'priorityTest2', 'medium');
|
|
143
|
+
await (0, UtilitiesPage_1.completeTaskWithRetry)(taskPanelPage, taskDetailsPage, 'priorityTest1', 'low');
|
|
144
|
+
await taskPanelPage.filterBy('Completed');
|
|
145
|
+
// The shadcn task panel no longer renders the active filter as a
|
|
146
|
+
// heading (filterBy asserts it on the Filters trigger instead), so
|
|
147
|
+
// wait for a completed task to actually appear in the list -- that
|
|
148
|
+
// also covers the indexing lag before the reload below. The list is
|
|
149
|
+
// virtualised, so this has to page through it rather than wait on a
|
|
150
|
+
// locator that is simply not rendered yet.
|
|
151
|
+
await taskPanelPage.assertTaskVisible('priorityTest4');
|
|
152
|
+
await page.reload();
|
|
153
|
+
await (0, sleep_1.sleep)(1000);
|
|
154
|
+
await taskPanelPage.openTask('priorityTest4');
|
|
155
|
+
await (0, test_1.expect)(page.getByText('Zeebe_User_Task_Process_With_Priority').first()).toBeVisible({ timeout: 60000 });
|
|
156
|
+
await taskDetailsPage.taskAssertion('Zeebe_User_Task_Process_With_Priority');
|
|
157
|
+
await taskDetailsPage.priorityAssertion('critical');
|
|
158
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
159
|
+
await operateLoginPage.login('demo', 'demo');
|
|
160
|
+
await operateHomePage.clickProcessesTab();
|
|
161
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
162
|
+
await operateProcessesPage.clickProcessInstanceLink('Zeebe_User_Task_Process_With_Priority');
|
|
163
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const c8Run_8_11_1 = require("../../fixtures/c8Run-8.11");
|
|
4
|
+
const UtilitiesPage_1 = require("../../pages/c8Run-8.11/UtilitiesPage");
|
|
5
|
+
const _setup_1 = require("../../test-setup.js");
|
|
6
|
+
c8Run_8_11_1.test.describe('Login Tests', () => {
|
|
7
|
+
c8Run_8_11_1.test.afterEach(async ({ page }, testInfo) => {
|
|
8
|
+
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
9
|
+
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
10
|
+
});
|
|
11
|
+
(0, c8Run_8_11_1.test)('Basic Login on Operate @tasklistV2', async ({ page, operateLoginPage, operateHomePage, }) => {
|
|
12
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
13
|
+
await operateLoginPage.login('demo', 'demo');
|
|
14
|
+
await operateHomePage.operateBannerIsVisible();
|
|
15
|
+
});
|
|
16
|
+
(0, c8Run_8_11_1.test)('Basic Login on TaskList', async ({ page, taskListLoginPage, taskPanelPage, }) => {
|
|
17
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'tasklist');
|
|
18
|
+
await taskListLoginPage.login('demo', 'demo');
|
|
19
|
+
await taskPanelPage.taskListBannerIsVisible();
|
|
20
|
+
});
|
|
21
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const c8Run_8_11_1 = require("../../fixtures/c8Run-8.11");
|
|
4
|
+
const test_1 = require("@playwright/test");
|
|
5
|
+
const UtilitiesPage_1 = require("../../pages/c8Run-8.11/UtilitiesPage");
|
|
6
|
+
const _setup_1 = require("../../test-setup.js");
|
|
7
|
+
const apiHelpers_1 = require("../../utils/apiHelpers");
|
|
8
|
+
const keycloakHelpers_1 = require("../../utils/keycloakHelpers");
|
|
9
|
+
const zeebeClient_1 = require("../../utils/zeebeClient");
|
|
10
|
+
const sleep_1 = require("../../utils/sleep");
|
|
11
|
+
let bearerToken;
|
|
12
|
+
const authMethods = [
|
|
13
|
+
{
|
|
14
|
+
name: 'Basic Auth',
|
|
15
|
+
processId: 'mcp_remote_client_basic_auth',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: 'Bearer Token',
|
|
19
|
+
processId: 'mcp_remote_client_bearer_auth',
|
|
20
|
+
getVariables: () => ({ bearerToken }),
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'OAuth Client Credentials',
|
|
24
|
+
processId: 'mcp_remote_client_oauth_auth',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
c8Run_8_11_1.test.beforeAll(async () => {
|
|
28
|
+
if (process.env.MCP_SERVER_AVAILABLE !== 'true') {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
await (0, apiHelpers_1.validateMcpServerHealth)('http://127.0.0.1:12001'); // No auth
|
|
32
|
+
await (0, apiHelpers_1.validateMcpServerHealth)('http://127.0.0.1:12002'); // Basic auth
|
|
33
|
+
await (0, apiHelpers_1.validateMcpServerHealth)('http://127.0.0.1:12004'); // OAuth
|
|
34
|
+
await (0, apiHelpers_1.waitForConnectorsReady)(undefined, 600000);
|
|
35
|
+
await (0, keycloakHelpers_1.validateKeycloakHealth)();
|
|
36
|
+
bearerToken = await (0, keycloakHelpers_1.getAccessToken)();
|
|
37
|
+
await (0, zeebeClient_1.deploy)([
|
|
38
|
+
'./resources/mcp_server/mcp_remote_client_basic_auth.bpmn',
|
|
39
|
+
'./resources/mcp_server/mcp_remote_client_bearer_auth.bpmn',
|
|
40
|
+
'./resources/mcp_server/mcp_remote_client_oauth_auth.bpmn',
|
|
41
|
+
]);
|
|
42
|
+
});
|
|
43
|
+
c8Run_8_11_1.test.describe('@tasklistV2 MCP Client connector authentication tests', () => {
|
|
44
|
+
c8Run_8_11_1.test.skip(process.env.MCP_SERVER_AVAILABLE !== 'true', 'MCP authentication servers require Docker and are only available on Linux CI runners');
|
|
45
|
+
c8Run_8_11_1.test.beforeEach(async ({ page, operateLoginPage, operateHomePage }) => {
|
|
46
|
+
await (0, UtilitiesPage_1.navigateToApp)(page, 'operate');
|
|
47
|
+
await operateLoginPage.login('demo', 'demo');
|
|
48
|
+
await operateHomePage.operateBannerIsVisible();
|
|
49
|
+
});
|
|
50
|
+
c8Run_8_11_1.test.afterEach(async ({ page }, testInfo) => {
|
|
51
|
+
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
52
|
+
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
53
|
+
});
|
|
54
|
+
for (const { name, processId, getVariables } of authMethods) {
|
|
55
|
+
// Skipped due to bug #7984: https://github.com/camunda/connectors/issues/7984
|
|
56
|
+
c8Run_8_11_1.test.skip(`As a user I can authenticate using ${name} and list tools`, async ({ operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
57
|
+
await (0, zeebeClient_1.createInstances)(processId, 1, 1, getVariables?.());
|
|
58
|
+
await (0, sleep_1.sleep)(2000);
|
|
59
|
+
await c8Run_8_11_1.test.step('Navigate to completed process instance', async () => {
|
|
60
|
+
await operateHomePage.clickProcessesTab();
|
|
61
|
+
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
62
|
+
await operateProcessesPage.clickProcessInstanceLink(processId);
|
|
63
|
+
await operateProcessInstancePage.completedIconAssertion();
|
|
64
|
+
});
|
|
65
|
+
await c8Run_8_11_1.test.step(`Verify ${name} successfully listed tools`, async () => {
|
|
66
|
+
await operateProcessInstancePage.verifyVariableJsonContent('listToolsResult', (value) => {
|
|
67
|
+
const data = value;
|
|
68
|
+
(0, test_1.expect)(data.toolDefinitions).toBeDefined();
|
|
69
|
+
(0, test_1.expect)(data.toolDefinitions.length).toBeGreaterThan(0);
|
|
70
|
+
(0, test_1.expect)(data.toolDefinitions.some((tool) => tool.name)).toBe(true);
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|