@camunda/e2e-test-suite 0.0.967 → 0.0.968
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.
|
@@ -22,6 +22,7 @@ declare class ModelerCreatePage {
|
|
|
22
22
|
readonly deployMenuItem: Locator;
|
|
23
23
|
readonly additionalActionsButton: Locator;
|
|
24
24
|
readonly cancelButton: Locator;
|
|
25
|
+
readonly reusableAssetsTab: Locator;
|
|
25
26
|
readonly restConnectorOption: Locator;
|
|
26
27
|
readonly webhookMessageStartEventConnectorOption: Locator;
|
|
27
28
|
readonly webhookTab: Locator;
|
|
@@ -146,6 +147,7 @@ declare class ModelerCreatePage {
|
|
|
146
147
|
clickDeployMainButton(): Promise<void>;
|
|
147
148
|
clickDeploySubButton(): Promise<void>;
|
|
148
149
|
clickCancelButton(): Promise<void>;
|
|
150
|
+
clickReusableAssetsTab(): Promise<void>;
|
|
149
151
|
clickRestConnectorOption(): Promise<void>;
|
|
150
152
|
clickWebhookMessageStartEventConnectorOption(): Promise<void>;
|
|
151
153
|
clickWebhookTab(): Promise<void>;
|
|
@@ -27,6 +27,7 @@ class ModelerCreatePage {
|
|
|
27
27
|
deployMenuItem;
|
|
28
28
|
additionalActionsButton;
|
|
29
29
|
cancelButton;
|
|
30
|
+
reusableAssetsTab;
|
|
30
31
|
restConnectorOption;
|
|
31
32
|
webhookMessageStartEventConnectorOption;
|
|
32
33
|
webhookTab;
|
|
@@ -149,6 +150,11 @@ class ModelerCreatePage {
|
|
|
149
150
|
this.deployMainButton = page.locator('[data-test="deploy-button"]');
|
|
150
151
|
this.deploySubButton = page.locator('[data-test="deploy-action"]');
|
|
151
152
|
this.cancelButton = page.getByRole('button', { name: 'Cancel' });
|
|
153
|
+
// The change-element popup now splits standard BPMN elements from element
|
|
154
|
+
// templates/connectors into "BPMN" and "Reusable Assets" tabs, opening on
|
|
155
|
+
// BPMN. Connector templates render only once the Reusable Assets tab is
|
|
156
|
+
// selected.
|
|
157
|
+
this.reusableAssetsTab = page.getByRole('tab', { name: 'Reusable Assets' });
|
|
152
158
|
this.restConnectorOption = page.locator('[data-id="replace.template-io.camunda.connectors.HttpJson.v2"]');
|
|
153
159
|
// Change-element popup entries are `role="option"` under
|
|
154
160
|
// `.djs-popup-results`, and their accessible name now includes the entry
|
|
@@ -614,7 +620,11 @@ class ModelerCreatePage {
|
|
|
614
620
|
async clickCancelButton() {
|
|
615
621
|
await this.cancelButton.click({ timeout: 60000 });
|
|
616
622
|
}
|
|
623
|
+
async clickReusableAssetsTab() {
|
|
624
|
+
await this.reusableAssetsTab.click({ timeout: 60000 });
|
|
625
|
+
}
|
|
617
626
|
async clickRestConnectorOption() {
|
|
627
|
+
await this.clickReusableAssetsTab();
|
|
618
628
|
await this.restConnectorOption.click({ timeout: 60000 });
|
|
619
629
|
}
|
|
620
630
|
async clickWebhookMessageStartEventConnectorOption() {
|
|
@@ -806,6 +816,7 @@ class ModelerCreatePage {
|
|
|
806
816
|
await this.intermediateBoundaryEvent.click({ timeout: 60000 });
|
|
807
817
|
}
|
|
808
818
|
async clickIntermediateWebhookConnectorOption() {
|
|
819
|
+
await this.clickReusableAssetsTab();
|
|
809
820
|
await this.intermediateWebhookConnectorOption.click({ timeout: 60000 });
|
|
810
821
|
}
|
|
811
822
|
async clickCorrelationKeyProcessInput() {
|
|
@@ -124,6 +124,7 @@ _8_7_1.test.describe('Connectors User Flow Tests', () => {
|
|
|
124
124
|
await modelerCreatePage.enterDiagramName(processName);
|
|
125
125
|
await (0, sleep_1.sleep)(10000);
|
|
126
126
|
await modelerCreatePage.clickChangeTypeButton();
|
|
127
|
+
await modelerCreatePage.clickReusableAssetsTab();
|
|
127
128
|
await (0, test_1.expect)(modelerCreatePage.webhookMessageStartEventConnectorOption).toBeVisible({
|
|
128
129
|
timeout: 30000,
|
|
129
130
|
});
|