@camunda/e2e-test-suite 0.0.776 → 0.0.778
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.
|
@@ -79,7 +79,10 @@ class OperateProcessesPage {
|
|
|
79
79
|
await this.processFinishedInstancesCheckbox.click();
|
|
80
80
|
}
|
|
81
81
|
async clickProcessInstanceLink(processName) {
|
|
82
|
-
|
|
82
|
+
// Increased from 3 to 5 retries: process-instance indexing in Operate can take
|
|
83
|
+
// longer than 3 × (60 s visible + 10 s reload) on busy SaaS environments,
|
|
84
|
+
// causing intermittent failures in the webhook connector nightly tests.
|
|
85
|
+
const maxRetries = 5;
|
|
83
86
|
for (let retries = 0; retries < maxRetries; retries++) {
|
|
84
87
|
try {
|
|
85
88
|
await (0, test_1.expect)(this.processInstanceLink(processName)).toBeVisible({
|
|
@@ -189,7 +189,7 @@ class ModelerCreatePage {
|
|
|
189
189
|
this.marketPlaceButton = page.getByTitle('Browse Marketplace for more Connectors');
|
|
190
190
|
this.publicHolidayConnectorOption = page
|
|
191
191
|
.locator('[data-test="modeler"]')
|
|
192
|
-
.getByText('
|
|
192
|
+
.getByText('Public Holiday Outbound');
|
|
193
193
|
this.publicHolidayYearOption = page.getByLabel('Year');
|
|
194
194
|
this.publicHolidayCountryCodeOption = page.getByLabel('Countrycode');
|
|
195
195
|
this.implementationSection = page.locator('[data-group-id="group-userTaskImplementation"]');
|
|
@@ -800,7 +800,7 @@ class ModelerCreatePage {
|
|
|
800
800
|
await this.clickMarketPlaceButton();
|
|
801
801
|
const connectorMarketplacePage = new ConnectorMarketplacePage_1.ConnectorMarketplacePage(this.page);
|
|
802
802
|
await connectorMarketplacePage.clickSearchForConnectorTextbox();
|
|
803
|
-
await connectorMarketplacePage.fillSearchForConnectorTextbox('
|
|
803
|
+
await connectorMarketplacePage.fillSearchForConnectorTextbox('Public Holiday Connector');
|
|
804
804
|
await (0, sleep_1.sleep)(10000);
|
|
805
805
|
await connectorMarketplacePage.downloadConnectorToProject();
|
|
806
806
|
}
|
|
@@ -814,7 +814,7 @@ class ModelerCreatePage {
|
|
|
814
814
|
if (await changeElementSearch
|
|
815
815
|
.isVisible({ timeout: 5000 })
|
|
816
816
|
.catch(() => false)) {
|
|
817
|
-
await changeElementSearch.pressSequentially('
|
|
817
|
+
await changeElementSearch.pressSequentially('Public Holiday Outbound', { delay: 50 });
|
|
818
818
|
}
|
|
819
819
|
// Importing via "Save as copy" can leave both the pre-existing and the
|
|
820
820
|
// newly imported template in the change-element list, so target the
|
|
@@ -79,7 +79,10 @@ class OperateProcessesPage {
|
|
|
79
79
|
await this.processFinishedInstancesCheckbox.click();
|
|
80
80
|
}
|
|
81
81
|
async clickProcessInstanceLink(processName) {
|
|
82
|
-
|
|
82
|
+
// Increased from 3 to 5 retries: process-instance indexing in Operate can take
|
|
83
|
+
// longer than 3 × (60 s visible + 10 s reload) on busy SaaS environments,
|
|
84
|
+
// causing intermittent failures in the webhook connector nightly tests.
|
|
85
|
+
const maxRetries = 5;
|
|
83
86
|
for (let retries = 0; retries < maxRetries; retries++) {
|
|
84
87
|
try {
|
|
85
88
|
await (0, test_1.expect)(this.processInstanceLink(processName)).toBeVisible({
|
|
@@ -185,7 +185,7 @@ class ModelerCreatePage {
|
|
|
185
185
|
this.marketPlaceButton = page.getByTitle('Browse Marketplace for more Connectors');
|
|
186
186
|
this.publicHolidayConnectorOption = page
|
|
187
187
|
.locator('[data-test="modeler"]')
|
|
188
|
-
.getByText('
|
|
188
|
+
.getByText('Public Holiday Outbound');
|
|
189
189
|
this.publicHolidayYearOption = page.getByLabel('Year');
|
|
190
190
|
this.publicHolidayCountryCodeOption = page.getByLabel('Countrycode');
|
|
191
191
|
this.implementationSection = page.locator('[data-group-id="group-userTaskImplementation"]');
|
|
@@ -772,7 +772,7 @@ class ModelerCreatePage {
|
|
|
772
772
|
await this.clickMarketPlaceButton();
|
|
773
773
|
const connectorMarketplacePage = new ConnectorMarketplacePage_1.ConnectorMarketplacePage(this.page);
|
|
774
774
|
await connectorMarketplacePage.clickSearchForConnectorTextbox();
|
|
775
|
-
await connectorMarketplacePage.fillSearchForConnectorTextbox('
|
|
775
|
+
await connectorMarketplacePage.fillSearchForConnectorTextbox('Public Holiday Connector');
|
|
776
776
|
await (0, sleep_1.sleep)(10000);
|
|
777
777
|
await connectorMarketplacePage.downloadConnectorToProject();
|
|
778
778
|
}
|
|
@@ -786,7 +786,7 @@ class ModelerCreatePage {
|
|
|
786
786
|
if (await changeElementSearch
|
|
787
787
|
.isVisible({ timeout: 5000 })
|
|
788
788
|
.catch(() => false)) {
|
|
789
|
-
await changeElementSearch.pressSequentially('
|
|
789
|
+
await changeElementSearch.pressSequentially('Public Holiday Outbound', { delay: 50 });
|
|
790
790
|
}
|
|
791
791
|
await this.publicHolidayConnectorOption.waitFor({
|
|
792
792
|
state: 'visible',
|
|
@@ -79,7 +79,10 @@ class OperateProcessesPage {
|
|
|
79
79
|
await this.processFinishedInstancesCheckbox.click();
|
|
80
80
|
}
|
|
81
81
|
async clickProcessInstanceLink(processName) {
|
|
82
|
-
|
|
82
|
+
// Increased from 3 to 5 retries: process-instance indexing in Operate can take
|
|
83
|
+
// longer than 3 × (60 s visible + 10 s reload) on busy SaaS environments,
|
|
84
|
+
// causing intermittent failures in the webhook connector nightly tests.
|
|
85
|
+
const maxRetries = 5;
|
|
83
86
|
for (let retries = 0; retries < maxRetries; retries++) {
|
|
84
87
|
try {
|
|
85
88
|
await (0, test_1.expect)(this.processInstanceLink(processName)).toBeVisible({
|