@camunda/e2e-test-suite 0.0.234 → 0.0.235
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.
|
@@ -343,8 +343,8 @@ class ClusterDetailsPage {
|
|
|
343
343
|
for (const component of components) {
|
|
344
344
|
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.page.getByText(`${component}Healthy`, { exact: true }), {
|
|
345
345
|
visibilityTimeout: 60000,
|
|
346
|
-
totalTimeout:
|
|
347
|
-
maxRetries:
|
|
346
|
+
totalTimeout: 400000,
|
|
347
|
+
maxRetries: 7,
|
|
348
348
|
preAction: async () => {
|
|
349
349
|
await this.page.reload();
|
|
350
350
|
},
|
|
@@ -60,6 +60,7 @@ class ConnectorSettingsPage {
|
|
|
60
60
|
await (0, test_1.expect)(this.page.getByText('URL must not be empty.')).not.toBeVisible({
|
|
61
61
|
timeout: 30000,
|
|
62
62
|
});
|
|
63
|
+
await this.page.waitForTimeout(1000);
|
|
63
64
|
}
|
|
64
65
|
async clickResultExpressionInput() {
|
|
65
66
|
await this.resultExpressionInput.click({ timeout: 90000 });
|
|
@@ -86,6 +87,7 @@ class ConnectorSettingsPage {
|
|
|
86
87
|
await (0, test_1.expect)(this.page.getByText('Username must not be empty.')).not.toBeVisible({
|
|
87
88
|
timeout: 30000,
|
|
88
89
|
});
|
|
90
|
+
await this.page.waitForTimeout(1000);
|
|
89
91
|
}
|
|
90
92
|
async clickPasswordInput() {
|
|
91
93
|
await this.passwordInput.click({ timeout: 60000 });
|
|
@@ -96,6 +98,7 @@ class ConnectorSettingsPage {
|
|
|
96
98
|
await (0, test_1.expect)(this.page.getByText('Password must not be empty.')).not.toBeVisible({
|
|
97
99
|
timeout: 30000,
|
|
98
100
|
});
|
|
101
|
+
await this.page.waitForTimeout(1000);
|
|
99
102
|
}
|
|
100
103
|
async selectMethodType(method) {
|
|
101
104
|
await this.methodTypeDropdown.selectOption(method, { timeout: 60000 });
|
|
@@ -30,6 +30,7 @@ declare class IdpCreatePage {
|
|
|
30
30
|
readonly selectStructuredDataExtraction: Locator;
|
|
31
31
|
readonly selectStructuredDataExtractionLabel: Locator;
|
|
32
32
|
readonly extractionInProgressNotification: Locator;
|
|
33
|
+
readonly extractionInProgressNotificationForMultipleFiles: Locator;
|
|
33
34
|
readonly structured_FieldsTab: Locator;
|
|
34
35
|
readonly structured_TablesTab: Locator;
|
|
35
36
|
readonly structured_CheckboxSelectAllFields: Locator;
|
|
@@ -34,6 +34,7 @@ class IdpCreatePage {
|
|
|
34
34
|
selectStructuredDataExtraction;
|
|
35
35
|
selectStructuredDataExtractionLabel;
|
|
36
36
|
extractionInProgressNotification;
|
|
37
|
+
extractionInProgressNotificationForMultipleFiles;
|
|
37
38
|
structured_FieldsTab;
|
|
38
39
|
structured_TablesTab;
|
|
39
40
|
structured_CheckboxSelectAllFields;
|
|
@@ -104,6 +105,7 @@ class IdpCreatePage {
|
|
|
104
105
|
this.selectStructuredDataExtraction = page.locator('#idp-project-extraction-method-structured');
|
|
105
106
|
this.selectStructuredDataExtractionLabel = page.locator('label[for="idp-project-extraction-method-structured"]');
|
|
106
107
|
this.extractionInProgressNotification = page.getByText('Extracting document...');
|
|
108
|
+
this.extractionInProgressNotificationForMultipleFiles = page.getByText('Extracting documents...');
|
|
107
109
|
this.structured_uploadFilesButton = page
|
|
108
110
|
.getByRole('button', {
|
|
109
111
|
name: /Drag and drop.*PDF.*upload/i,
|
|
@@ -328,13 +330,13 @@ class IdpCreatePage {
|
|
|
328
330
|
timeout: 60000,
|
|
329
331
|
});
|
|
330
332
|
await this.structured_TestExtractionTemplateButton.click({ timeout: 60000 });
|
|
331
|
-
await (0, test_1.expect)(this.
|
|
332
|
-
timeout:
|
|
333
|
+
await (0, test_1.expect)(this.extractionInProgressNotificationForMultipleFiles).not.toBeVisible({
|
|
334
|
+
timeout: 150000,
|
|
333
335
|
});
|
|
334
336
|
}
|
|
335
337
|
async extractionResultsAreVisible() {
|
|
336
338
|
await (0, test_1.expect)(this.structured_TestSummaryResult).toBeVisible({
|
|
337
|
-
timeout:
|
|
339
|
+
timeout: 120000,
|
|
338
340
|
});
|
|
339
341
|
await (0, test_1.expect)(this.structured_DetailsResult).toBeVisible({
|
|
340
342
|
timeout: 60000,
|
|
@@ -10,6 +10,7 @@ const roleAuthorizations_1 = require("../../utils/roleAuthorizations");
|
|
|
10
10
|
const expectTextWithRetry_1 = require("../../utils/assertionHelpers/expectTextWithRetry");
|
|
11
11
|
const expectTextWithPagination_1 = require("../../utils/assertionHelpers/expectTextWithPagination");
|
|
12
12
|
const users_1 = require("../../utils/users");
|
|
13
|
+
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
13
14
|
const mainUser = (0, users_1.getTestUser)('twentySixthUser');
|
|
14
15
|
_8_10_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV2', () => {
|
|
15
16
|
const clusterNames = {
|
|
@@ -108,8 +109,11 @@ _8_10_1.test.describe.parallel('RBA Enabled User Flows Test @tasklistV2', () =>
|
|
|
108
109
|
await _8_10_1.test.step('Navigate to Tasklist and Make Sure that the Two Deployed Processes Are Not Accessible', async () => {
|
|
109
110
|
await appsPage.clickCamundaApps();
|
|
110
111
|
await appsPage.clickTasklist(clusterName);
|
|
111
|
-
await (0,
|
|
112
|
-
|
|
112
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, taskPanelPage.taskListPageBanner, {
|
|
113
|
+
visibilityTimeout: 20000,
|
|
114
|
+
postAction: async () => {
|
|
115
|
+
await page.reload();
|
|
116
|
+
},
|
|
113
117
|
});
|
|
114
118
|
await taskPanelPage.clickProcessesTab();
|
|
115
119
|
await taskProcessesPage.clickpopupContinueButton();
|