@camunda/e2e-test-suite 0.0.449 → 0.0.451
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.
|
@@ -71,11 +71,13 @@ async function completeTaskWithRetry(page, taskPanelPage, taskDetailsPage, taskN
|
|
|
71
71
|
try {
|
|
72
72
|
await page.waitForLoadState('networkidle');
|
|
73
73
|
await (0, sleep_1.sleep)(500);
|
|
74
|
-
const
|
|
74
|
+
const taskLocator = taskPanelPage.availableTasks
|
|
75
75
|
.getByText(taskName, { exact: true })
|
|
76
|
-
.first()
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
.first();
|
|
77
|
+
try {
|
|
78
|
+
await taskLocator.waitFor({ state: 'visible', timeout: 10000 });
|
|
79
|
+
}
|
|
80
|
+
catch {
|
|
79
81
|
throw new Error(`Task ${taskName} not found in available tasks`);
|
|
80
82
|
}
|
|
81
83
|
await taskPanelPage.openTask(taskName, false);
|
|
@@ -85,11 +85,13 @@ async function completeTaskWithRetry(page, taskPanelPage, taskDetailsPage, taskN
|
|
|
85
85
|
try {
|
|
86
86
|
await page.waitForLoadState('networkidle');
|
|
87
87
|
await (0, sleep_1.sleep)(500);
|
|
88
|
-
const
|
|
88
|
+
const taskLocator = taskPanelPage.availableTasks
|
|
89
89
|
.getByText(taskName, { exact: true })
|
|
90
|
-
.first()
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
.first();
|
|
91
|
+
try {
|
|
92
|
+
await taskLocator.waitFor({ state: 'visible', timeout: 10000 });
|
|
93
|
+
}
|
|
94
|
+
catch {
|
|
93
95
|
throw new Error(`Task ${taskName} not found in available tasks`);
|
|
94
96
|
}
|
|
95
97
|
await taskPanelPage.openTask(taskName, false);
|
|
@@ -130,8 +130,7 @@ SM_8_9_1.test.describe.parallel('Smoke Tests', () => {
|
|
|
130
130
|
});
|
|
131
131
|
console.log(`[${testInfo.title}] Test end: timeout = ${testInfo.timeout}`);
|
|
132
132
|
});
|
|
133
|
-
|
|
134
|
-
SM_8_9_1.test.skip('Most Common REST Connector User Flow @tasklistV2', async ({ context, operateHomePage, modelerHomePage, modelerCreatePage, connectorSettingsPage, navigationPage, operateProcessesPage, operateProcessInstancePage, connectorMarketplacePage, }, testInfo) => {
|
|
133
|
+
(0, SM_8_9_1.test)('Most Common REST Connector User Flow @tasklistV2', async ({ context, operateHomePage, modelerHomePage, modelerCreatePage, connectorSettingsPage, navigationPage, operateProcessesPage, operateProcessInstancePage, connectorMarketplacePage, }, testInfo) => {
|
|
135
134
|
console.log(`[${testInfo.title}] Test start: timeout = ${testInfo.timeout}`);
|
|
136
135
|
const processName = 'REST_Connector_Basic_Auth_Process' +
|
|
137
136
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|