@camunda/e2e-test-suite 0.0.747 → 0.0.748
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.
|
@@ -152,6 +152,10 @@ class ModelerHomePage {
|
|
|
152
152
|
const timeout = 60000;
|
|
153
153
|
while (attempts < maxAttempts) {
|
|
154
154
|
try {
|
|
155
|
+
// The Web Modeler upstream can return a transient nginx 503 while its
|
|
156
|
+
// pod restarts. Reload until the app shell renders before interacting
|
|
157
|
+
// with the project list, instead of asserting against the error page.
|
|
158
|
+
await this.waitForModelerReady();
|
|
155
159
|
await this.clickMessageBanner();
|
|
156
160
|
await (0, test_1.expect)(this.crossComponentProjectFolder).toBeVisible({ timeout });
|
|
157
161
|
// The WhatsNew modal renders lazily after page load and intercepts clicks.
|
|
@@ -198,9 +202,15 @@ class ModelerHomePage {
|
|
|
198
202
|
await this.chooseBpmnTemplateButton.click();
|
|
199
203
|
}
|
|
200
204
|
async clickDiagramTypeDropdown() {
|
|
205
|
+
// The Web Modeler upstream can return a transient nginx 503 while its pod
|
|
206
|
+
// restarts. Wait for the app shell before checking for the dropdown, and
|
|
207
|
+
// reload-then-wait on each retry so a 503 is ridden out rather than
|
|
208
|
+
// reasserted against the error page.
|
|
209
|
+
await this.waitForModelerReady();
|
|
201
210
|
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.diagramTypeDropdown, {
|
|
202
211
|
postAction: async () => {
|
|
203
212
|
await this.page.reload();
|
|
213
|
+
await this.waitForModelerReady();
|
|
204
214
|
},
|
|
205
215
|
});
|
|
206
216
|
await this.diagramTypeDropdown.click();
|
|
@@ -15,7 +15,8 @@ SM_8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
15
15
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
16
16
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
17
17
|
});
|
|
18
|
-
|
|
18
|
+
// Skipped due to connectors bug #7716: https://github.com/camunda/connectors/issues/7716
|
|
19
|
+
SM_8_9_1.test.skip('REST Connector No Auth User Flow', async ({ operateHomePage, modelerHomePage, operateProcessInstancePage, modelerCreatePage, connectorSettingsPage, operateProcessesPage, connectorMarketplacePage, navigationPage, }) => {
|
|
19
20
|
SM_8_9_1.test.slow();
|
|
20
21
|
const processName = 'REST_Connector_No_Auth_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
21
22
|
await SM_8_9_1.test.step('Open Cross Component Test Project and Create a BPMN Diagram Template', async () => {
|
|
@@ -39,7 +40,8 @@ SM_8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
39
40
|
await operateProcessInstancePage.assertProcessVariableContainsText('status', '"Awesome!"');
|
|
40
41
|
});
|
|
41
42
|
});
|
|
42
|
-
|
|
43
|
+
// Skipped due to connectors bug #7716: https://github.com/camunda/connectors/issues/7716
|
|
44
|
+
SM_8_9_1.test.skip('REST Connector Bearer Token Auth User Flow', async ({ operateHomePage, modelerHomePage, modelerCreatePage, connectorSettingsPage, navigationPage, operateProcessInstancePage, operateProcessesPage, connectorMarketplacePage, }) => {
|
|
43
45
|
SM_8_9_1.test.slow();
|
|
44
46
|
const processName = 'REST_Connector_Bearer_Auth_Process' +
|
|
45
47
|
(await (0, _setup_1.generateRandomStringAsync)(3));
|
|
@@ -126,7 +128,8 @@ SM_8_9_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
126
128
|
(0, test_1.expect)(result).toBe('completed');
|
|
127
129
|
});
|
|
128
130
|
});
|
|
129
|
-
|
|
131
|
+
// Skipped due to connectors bug #7716: https://github.com/camunda/connectors/issues/7716
|
|
132
|
+
SM_8_9_1.test.skip('Connector Secrets User Flow', async ({ operateHomePage, modelerHomePage, navigationPage, modelerCreatePage, connectorSettingsPage, operateProcessInstancePage, operateProcessesPage, connectorMarketplacePage, }) => {
|
|
130
133
|
SM_8_9_1.test.slow();
|
|
131
134
|
const processName = 'REST_Connector_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
132
135
|
await SM_8_9_1.test.step('Open Cross Component Test Project and Create a BPMN Diagram Template', async () => {
|