@camunda/e2e-test-suite 0.0.312 → 0.0.313
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.
|
@@ -131,7 +131,9 @@ class ClusterDetailsPage {
|
|
|
131
131
|
this.orchestrationClusterCheckbox = page
|
|
132
132
|
.locator('label')
|
|
133
133
|
.filter({ hasText: /^Orchestration Cluster API$/ });
|
|
134
|
-
this.clientCredentialsLink = (clientCredentials) => page
|
|
134
|
+
this.clientCredentialsLink = (clientCredentials) => page
|
|
135
|
+
.getByRole('cell', { name: clientCredentials })
|
|
136
|
+
.getByText(clientCredentials);
|
|
135
137
|
this.clientRow = (name) => this.clientsList.filter({ hasText: name });
|
|
136
138
|
this.clientRowDeleteButton = (name) => this.clientRow(name).getByRole('button', { name: 'Delete' });
|
|
137
139
|
this.reviewUpdateButton = page.getByRole('button', { name: 'Review Update' });
|
|
@@ -129,6 +129,7 @@ class OCIdentityGroupsPage {
|
|
|
129
129
|
async deleteGroup(groupName) {
|
|
130
130
|
await this.deleteGroupButton(groupName).click();
|
|
131
131
|
await (0, test_1.expect)(this.deleteGroupModal).toBeVisible();
|
|
132
|
+
await (0, test_1.expect)(this.deleteGroupModalDeleteButton).toBeVisible();
|
|
132
133
|
await this.deleteGroupModalDeleteButton.click();
|
|
133
134
|
await (0, test_1.expect)(this.deleteGroupModal).toBeHidden();
|
|
134
135
|
}
|
|
@@ -138,12 +138,12 @@ _8_8_1.test.describe('Console User Flow Tests @tasklistV2', () => {
|
|
|
138
138
|
await (0, test_1.expect)(async () => {
|
|
139
139
|
await page.reload();
|
|
140
140
|
await (0, test_1.expect)(clusterDetailsPage.alertsList.first()).toBeVisible({
|
|
141
|
-
timeout:
|
|
141
|
+
timeout: 30000,
|
|
142
142
|
});
|
|
143
143
|
(0, test_1.expect)(await clusterDetailsPage.alertsList.count()).toBeGreaterThan(1);
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
await (0, test_1.expect)(clusterDetailsPage.alertsList.nth(0)).toContainText(`Email`);
|
|
145
|
+
await clusterDetailsPage.assertAlertText('Amount triggered1');
|
|
146
|
+
}).toPass({ timeout: 90000 });
|
|
147
147
|
});
|
|
148
148
|
await _8_8_1.test.step('Verify Alerts Received via Email for Incident', async () => {
|
|
149
149
|
await (0, sleep_1.sleep)(60000);
|
|
@@ -177,11 +177,11 @@ _8_8_1.test.describe('Console User Flow Tests @tasklistV2', () => {
|
|
|
177
177
|
await (0, test_1.expect)(async () => {
|
|
178
178
|
await page.reload();
|
|
179
179
|
await (0, test_1.expect)(clusterDetailsPage.alertsList.first()).toBeVisible({
|
|
180
|
-
timeout:
|
|
180
|
+
timeout: 30000,
|
|
181
181
|
});
|
|
182
182
|
(0, test_1.expect)(await clusterDetailsPage.alertsList.count()).toBeGreaterThan(1);
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
await clusterDetailsPage.assertAlertText('Amount triggered3');
|
|
184
|
+
}).toPass({ timeout: 90000 });
|
|
185
185
|
});
|
|
186
186
|
await _8_8_1.test.step('Verify Alerts Received via Email for Incident', async () => {
|
|
187
187
|
await (0, sleep_1.sleep)(60000);
|
|
@@ -9,6 +9,7 @@ const resetSession_1 = require("../../utils/resetSession");
|
|
|
9
9
|
const LoginPage_1 = require("../../pages/8.8/LoginPage");
|
|
10
10
|
const expectTextWithRetry_1 = require("../../utils/assertionHelpers/expectTextWithRetry");
|
|
11
11
|
const users_1 = require("../../utils/users");
|
|
12
|
+
const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
|
|
12
13
|
const mainUser = (0, users_1.getTestUser)('twelfthUser');
|
|
13
14
|
_8_8_1.test.describe.parallel('UTR Enabled User Flows Test @tasklistV1', () => {
|
|
14
15
|
const clusterName = 'Test Cluster';
|
|
@@ -144,8 +145,11 @@ _8_8_1.test.describe.parallel('UTR Enabled User Flows Test @tasklistV1', () => {
|
|
|
144
145
|
await _8_8_1.test.step('View User Tasks in Tasklist', async () => {
|
|
145
146
|
await appsPage.clickCamundaApps();
|
|
146
147
|
await appsPage.clickTasklist(clusterName);
|
|
147
|
-
await (0,
|
|
148
|
-
|
|
148
|
+
await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, taskPanelPage.taskListPageBanner, {
|
|
149
|
+
visibilityTimeout: 20000,
|
|
150
|
+
postAction: async () => {
|
|
151
|
+
await page.reload();
|
|
152
|
+
},
|
|
149
153
|
});
|
|
150
154
|
await (0, expectTextWithRetry_1.expectTextWithRetry)(page, taskName1);
|
|
151
155
|
await (0, expectTextWithRetry_1.expectTextWithRetry)(page, taskName2, { shouldBeVisible: false });
|