@camunda/e2e-test-suite 0.0.702 → 0.0.704
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.
|
@@ -608,12 +608,20 @@ class ModelerCreatePage {
|
|
|
608
608
|
// slice until the list is filtered. Type into the popup search box (the
|
|
609
609
|
// same `.djs-popup-search input` selector the bpmn-js/hub e2e tests use)
|
|
610
610
|
// so the REST Outbound Connector entry is rendered before asserting on it.
|
|
611
|
-
// Wait for the search input to render before
|
|
612
|
-
// check races the popup re-render on retries and silently skips the
|
|
611
|
+
// Wait for the search input to render before typing: a bare isVisible()
|
|
612
|
+
// check races the popup re-render on retries and silently skips the type,
|
|
613
613
|
// leaving the list unfiltered so the off-screen connector entry never
|
|
614
614
|
// becomes visible and the assertion below times out.
|
|
615
|
+
// Use pressSequentially (not fill): fill sets the value in one shot and the
|
|
616
|
+
// single input event can land before bpmn-js attaches its search handler
|
|
617
|
+
// during the popup re-render, leaving the list unfiltered. Typing
|
|
618
|
+
// character-by-character fires the keyboard events the filter listens to.
|
|
615
619
|
await (0, test_1.expect)(this.changeElementSearchInput).toBeVisible({ timeout: 30000 });
|
|
616
|
-
await this.changeElementSearchInput.
|
|
620
|
+
await this.changeElementSearchInput.click();
|
|
621
|
+
await this.changeElementSearchInput.fill('');
|
|
622
|
+
await this.changeElementSearchInput.pressSequentially('REST Outbound', {
|
|
623
|
+
delay: 50,
|
|
624
|
+
});
|
|
617
625
|
await (0, test_1.expect)(this.restConnectorOption).toBeVisible({ timeout: 90000 });
|
|
618
626
|
await this.restConnectorOption.click({ timeout: 90000 });
|
|
619
627
|
}
|
|
@@ -372,6 +372,9 @@ _8_10_1.test.describe('Connectors User Flow Tests @tasklistV2', () => {
|
|
|
372
372
|
await modelerCreatePage.clickAppendEndEventButton();
|
|
373
373
|
await (0, sleep_1.sleep)(10000);
|
|
374
374
|
await page.reload();
|
|
375
|
+
await (0, test_1.expect)(modelerCreatePage.generalPanel).toBeVisible({
|
|
376
|
+
timeout: 120000,
|
|
377
|
+
});
|
|
375
378
|
await modelerCreatePage.runProcessInstance(defaultClusterName);
|
|
376
379
|
});
|
|
377
380
|
await _8_10_1.test.step('Assert Webhook Is Active In Cluster And Make Authorization Request', async () => {
|