@camunda/e2e-test-suite 0.0.158 → 0.0.159
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.
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TaskDetailsPage = void 0;
|
|
4
4
|
const test_1 = require("@playwright/test");
|
|
5
|
+
const clickLocatorWithRetry_1 = require("../../utils/assertionHelpers/clickLocatorWithRetry");
|
|
5
6
|
function cardinalToOrdinal(numberValue) {
|
|
6
7
|
const realOrderIndex = numberValue.toString();
|
|
7
8
|
if (['11', '12', '13'].includes(realOrderIndex.slice(-2))) {
|
|
@@ -207,9 +208,7 @@ class TaskDetailsPage {
|
|
|
207
208
|
await this.nameInput.fill(nameInput);
|
|
208
209
|
}
|
|
209
210
|
async clickSubmitButton() {
|
|
210
|
-
await (0,
|
|
211
|
-
await (0, test_1.expect)(this.submitButton).toBeEnabled();
|
|
212
|
-
await this.submitButton.click();
|
|
211
|
+
await (0, clickLocatorWithRetry_1.clickLocatorWithRetry)(this.page, this.submitButton);
|
|
213
212
|
}
|
|
214
213
|
}
|
|
215
214
|
exports.TaskDetailsPage = TaskDetailsPage;
|
|
@@ -83,7 +83,8 @@ _8_6_1.test.describe('Console User Flow Tests', () => {
|
|
|
83
83
|
await (0, UtilitiesPage_1.assertLocatorVisibleWithRetry)(operateTabProcessInstancePage, operateTabProcessInstancePage.completedIcon, 'completed icon in Operate', 60000);
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
|
|
86
|
+
//Waiting infra team to provide DNS configuration for email testing, skipping for now
|
|
87
|
+
_8_6_1.test.skip('Alert Trigger Flow - Email Notification', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, clusterPage, clusterDetailsPage, connectorSettingsPage, }) => {
|
|
87
88
|
_8_6_1.test.slow();
|
|
88
89
|
const processName = 'Email_Alert_Process' + (await (0, _setup_1.generateRandomStringAsync)(3));
|
|
89
90
|
const invalidURl = 'https://invalid';
|
|
@@ -163,8 +163,10 @@ _8_6_1.test.describe('Web Modeler User Flow Tests', () => {
|
|
|
163
163
|
});
|
|
164
164
|
await settingsPage.clickOpenSettingsButton();
|
|
165
165
|
await settingsPage.clickLogoutButton();
|
|
166
|
-
await
|
|
166
|
+
await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, 1000);
|
|
167
167
|
await (0, sleep_1.sleep)(30000);
|
|
168
|
+
await appsPage.clickCamundaApps();
|
|
169
|
+
await appsPage.clickModeler();
|
|
168
170
|
await (0, test_1.expect)(modelerHomePage.modelerPageBanner).toBeVisible({
|
|
169
171
|
timeout: 90000,
|
|
170
172
|
});
|