@camunda/e2e-test-suite 0.0.169 → 0.0.171
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,6 +26,7 @@ declare class ModelerHomePage {
|
|
|
26
26
|
readonly cancelButton: Locator;
|
|
27
27
|
readonly optionsButton: Locator;
|
|
28
28
|
readonly formNameBreadcrumb: (formName: string) => Locator;
|
|
29
|
+
readonly buttonSkipCustomization: Locator;
|
|
29
30
|
constructor(page: Page);
|
|
30
31
|
clickCreateNewProjectButton(): Promise<void>;
|
|
31
32
|
enterNewProjectName(name: string): Promise<void>;
|
|
@@ -31,6 +31,7 @@ class ModelerHomePage {
|
|
|
31
31
|
cancelButton;
|
|
32
32
|
optionsButton;
|
|
33
33
|
formNameBreadcrumb;
|
|
34
|
+
buttonSkipCustomization;
|
|
34
35
|
constructor(page) {
|
|
35
36
|
this.page = page;
|
|
36
37
|
this.modelerPageBanner = page.getByRole('banner', {
|
|
@@ -76,9 +77,18 @@ class ModelerHomePage {
|
|
|
76
77
|
this.formNameBreadcrumb = (formName) => page.locator('button[data-test="breadcrumb-form"]', {
|
|
77
78
|
hasText: formName,
|
|
78
79
|
});
|
|
80
|
+
this.buttonSkipCustomization = page.getByRole('button', {
|
|
81
|
+
name: 'Skip customization',
|
|
82
|
+
});
|
|
79
83
|
}
|
|
80
84
|
async clickCreateNewProjectButton() {
|
|
81
|
-
|
|
85
|
+
try {
|
|
86
|
+
await this.createNewProjectButton.click({ timeout: 60000 });
|
|
87
|
+
}
|
|
88
|
+
catch (error) {
|
|
89
|
+
await this.buttonSkipCustomization.click();
|
|
90
|
+
await this.createNewProjectButton.click({ timeout: 60000 });
|
|
91
|
+
}
|
|
82
92
|
}
|
|
83
93
|
async enterNewProjectName(name) {
|
|
84
94
|
await this.projectNameInput.click({ timeout: 60000 });
|
|
@@ -251,7 +251,7 @@ class TaskDetailsPage {
|
|
|
251
251
|
let attempts = 0;
|
|
252
252
|
while (attempts < maxAttempts) {
|
|
253
253
|
try {
|
|
254
|
-
await (0, test_1.expect)(this.page.getByText(expectedText)).toBeVisible({
|
|
254
|
+
await (0, test_1.expect)(this.page.getByText(expectedText).first()).toBeVisible({
|
|
255
255
|
timeout: 60000,
|
|
256
256
|
});
|
|
257
257
|
return;
|
|
@@ -167,9 +167,7 @@ _8_8_1.test.describe('Smoke Tests', () => {
|
|
|
167
167
|
await operateProcessesPage.clickProcessCompletedCheckbox();
|
|
168
168
|
await operateProcessesPage.clickProcessInstanceLink(processName);
|
|
169
169
|
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateProcessInstancePage.completedIcon, { totalTimeout: 60000, maxRetries: 5 });
|
|
170
|
-
await (0,
|
|
171
|
-
timeout: 15000,
|
|
172
|
-
});
|
|
170
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateProcessInstancePage.variablesList, { totalTimeout: 60000, maxRetries: 5 });
|
|
173
171
|
await (0, test_1.expect)(operateProcessInstancePage.connectorResultVariableName('message')).toBeVisible({
|
|
174
172
|
timeout: 15000,
|
|
175
173
|
});
|