@camunda/e2e-test-suite 0.0.282 → 0.0.284
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.
|
@@ -26,9 +26,7 @@ class FormJsPage {
|
|
|
26
26
|
this.generateFormButton = page.getByRole('button', { name: 'Generate form' });
|
|
27
27
|
this.formEditor = page.getByLabel('Form Definition');
|
|
28
28
|
this.filePicker = page.locator('button[data-field-type="filepicker"]');
|
|
29
|
-
this.generalPanel =
|
|
30
|
-
.locator('[data-group-id="group-general"]')
|
|
31
|
-
.first();
|
|
29
|
+
this.generalPanel = page.locator('[data-group-id="group-general"]').first();
|
|
32
30
|
this.keyInput = page.getByRole('textbox', { name: 'key' });
|
|
33
31
|
this.uploadMultipleFilesToggle = page.locator('div[data-entry-id="multiple"] .bio-properties-panel-toggle-switch__switcher');
|
|
34
32
|
this.documentReferenceInput = page.getByRole('textbox', {
|
|
@@ -529,11 +529,13 @@ class ModelerCreatePage {
|
|
|
529
529
|
}
|
|
530
530
|
async clickSecondPlacedGateway() {
|
|
531
531
|
try {
|
|
532
|
+
await (0, test_1.expect)(this.secondPlacedGateway).toBeVisible({ timeout: 30000 });
|
|
532
533
|
await this.secondPlacedGateway.click({ timeout: 3000 });
|
|
533
534
|
await this.appendElementButton.isVisible({ timeout: 3000 });
|
|
534
535
|
}
|
|
535
536
|
catch (error) {
|
|
536
537
|
await this.page.reload();
|
|
538
|
+
await (0, test_1.expect)(this.secondPlacedGateway).toBeVisible({ timeout: 30000 });
|
|
537
539
|
await this.secondPlacedGateway.click({ timeout: 3000 });
|
|
538
540
|
}
|
|
539
541
|
}
|
|
@@ -791,6 +793,7 @@ class ModelerCreatePage {
|
|
|
791
793
|
}
|
|
792
794
|
async fillPriorityInput(priority) {
|
|
793
795
|
await this.priorityInput.fill(priority, { timeout: 60000 });
|
|
796
|
+
await (0, sleep_1.sleep)(1000);
|
|
794
797
|
}
|
|
795
798
|
async clickCanvas() {
|
|
796
799
|
await this.canvas.click({ timeout: 60000 });
|
|
@@ -900,6 +903,7 @@ class ModelerCreatePage {
|
|
|
900
903
|
}
|
|
901
904
|
async fillCandidateGroupsInput(candidateGroup) {
|
|
902
905
|
await this.candidateGroupsInput.fill(candidateGroup, { timeout: 60000 });
|
|
906
|
+
await (0, sleep_1.sleep)(1000);
|
|
903
907
|
}
|
|
904
908
|
async clickAssigneeInput() {
|
|
905
909
|
await this.assigneeInput.click({ timeout: 60000 });
|
|
@@ -75,6 +75,7 @@ class ModelerHomePage {
|
|
|
75
75
|
await this.createNewProjectButton.click();
|
|
76
76
|
}
|
|
77
77
|
async enterNewProjectName(name) {
|
|
78
|
+
await (0, sleep_1.sleep)(1000);
|
|
78
79
|
await this.projectNameInput.click({ timeout: 60000 });
|
|
79
80
|
await this.projectNameInput.fill(name);
|
|
80
81
|
await this.projectNameInput.press('Enter');
|
|
@@ -148,6 +149,7 @@ class ModelerHomePage {
|
|
|
148
149
|
await this.formTemplateOption.click();
|
|
149
150
|
}
|
|
150
151
|
async enterFormName(name) {
|
|
152
|
+
await (0, sleep_1.sleep)(1000);
|
|
151
153
|
await this.formNameInput.click({ timeout: 60000 });
|
|
152
154
|
await this.formNameInput.fill(name);
|
|
153
155
|
await this.formNameInput.press('Enter');
|
|
@@ -9,7 +9,6 @@ const loggingUtils_1 = require("../../utils/loggingUtils");
|
|
|
9
9
|
const resetSession_1 = require("../../utils/resetSession");
|
|
10
10
|
const KeycloakUtils_1 = require("../../pages/SM-8.10/KeycloakUtils");
|
|
11
11
|
SM_8_10_1.test.describe.parallel('Smoke Tests', () => {
|
|
12
|
-
SM_8_10_1.test.skip(true, 'Skipped due to Identity/admin change, will check and re-enable once the changes are in place');
|
|
13
12
|
SM_8_10_1.test.beforeEach(async ({ navigationPage, managementIdentityPage, keycloakLoginPage, keycloakAdminPage, page, browser, loginPage, ocIdentityHomePage, ocIdentityRolesPage, }, testInfo) => {
|
|
14
13
|
if (process.env.IS_MIGRATION === 'true') {
|
|
15
14
|
await navigationPage.goToOCIdentity((testInfo.workerIndex + 1) * 1000);
|