@camunda/e2e-test-suite 0.0.284 → 0.0.286

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.
@@ -186,11 +186,13 @@ class ClusterDetailsPage {
186
186
  // Click the second toggle switch element
187
187
  await toggleSwitchElements[1].click();
188
188
  if (await this.dialog.isVisible({ timeout: 15000 })) {
189
+ await (0, test_1.expect)(this.rbaEnableButton).toBeVisible({ timeout: 30000 });
189
190
  await this.rbaEnableButton.click({ timeout: 30000 });
190
191
  await (0, test_1.expect)(this.page.getByText('Enabling...')).not.toBeVisible({
191
192
  timeout: 60000,
192
193
  });
193
194
  }
195
+ await (0, sleep_1.sleep)(10000);
194
196
  console.log('Second toggle switch clicked.');
195
197
  }
196
198
  else {
@@ -221,7 +223,15 @@ class ClusterDetailsPage {
221
223
  if (toggleSwitchElements.length >= 2) {
222
224
  // Click the second toggle switch element
223
225
  await toggleSwitchElements[1].click();
226
+ if (await this.dialog.isVisible({ timeout: 15000 })) {
227
+ await (0, test_1.expect)(this.rbaDisableButton).toBeVisible({ timeout: 30000 });
228
+ await this.rbaDisableButton.click({ timeout: 30000 });
229
+ await (0, test_1.expect)(this.page.getByText('Disabling...')).not.toBeVisible({
230
+ timeout: 60000,
231
+ });
232
+ }
224
233
  console.log('Second toggle switch clicked.');
234
+ await (0, sleep_1.sleep)(10000);
225
235
  }
226
236
  else {
227
237
  console.log('Second toggle switch not found or less than 2.');
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConnectorSettingsPage = void 0;
4
4
  const test_1 = require("@playwright/test");
5
+ const sleep_1 = require("../../utils/sleep");
5
6
  class ConnectorSettingsPage {
6
7
  page;
7
8
  urlInput;
@@ -86,6 +87,7 @@ class ConnectorSettingsPage {
86
87
  }
87
88
  async fillUsernameInput(username) {
88
89
  await this.usernameInput.fill(username, { timeout: 30000 });
90
+ await (0, sleep_1.sleep)(1000);
89
91
  }
90
92
  async clickPasswordInput() {
91
93
  await this.passwordInput.click();
@@ -113,6 +115,7 @@ class ConnectorSettingsPage {
113
115
  }
114
116
  async fillBearerTokenInput(token) {
115
117
  await this.bearerTokenInput.fill(token);
118
+ await (0, sleep_1.sleep)(1000);
116
119
  }
117
120
  async clickAuthenticationTab() {
118
121
  await this.authenticationTab.click({ timeout: 60000 });
@@ -918,6 +918,7 @@ class ModelerCreatePage {
918
918
  }
919
919
  async fillTimerValue(value) {
920
920
  await this.timerValue.fill(value);
921
+ await (0, sleep_1.sleep)(1000);
921
922
  }
922
923
  async clickEighthPlacedElement() {
923
924
  await this.eighthPlacedElement.click();
@@ -9,7 +9,6 @@ const users_1 = require("../../utils/users");
9
9
  const testUser = (0, users_1.getTestUser)('twentyFirstUser');
10
10
  _8_8_1.test.describe.configure({ mode: 'parallel' });
11
11
  _8_8_1.test.describe('Navigation Tests', () => {
12
- _8_8_1.test.skip(process.env.IS_AG === 'true', 'Skipping Navigation Tests due to console breaking changes');
13
12
  const clusterName = 'Test Cluster';
14
13
  _8_8_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
15
14
  await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
@@ -18,7 +18,6 @@ const users_1 = require("../../utils/users");
18
18
  const testUser = (0, users_1.getTestUser)('thirteenthUser');
19
19
  _8_8_1.test.describe.configure({ mode: 'parallel' });
20
20
  _8_8_1.test.describe('Smoke Tests', () => {
21
- _8_8_1.test.skip(process.env.IS_AG === 'true', 'Skipping Smoke Tests due to console breaking changes');
22
21
  const clusterName = 'Test Cluster';
23
22
  _8_8_1.test.beforeEach(async ({ page, loginPage }, testInfo) => {
24
23
  await (0, UtilitiesPage_1.loginWithRetry)(page, loginPage, testUser, (testInfo.workerIndex + 1) * 1000);
@@ -9,7 +9,6 @@ const UtilitiesPage_1 = require("../../pages/8.8/UtilitiesPage");
9
9
  const users_1 = require("../../utils/users");
10
10
  _8_8_1.test.describe.configure({ mode: 'parallel' });
11
11
  _8_8_1.test.describe('Cluster Setup Tests', () => {
12
- _8_8_1.test.skip(process.env.IS_AG === 'true', 'Skipping Cluster Setup Tests due to console breaking changes');
13
12
  _8_8_1.test.afterEach(async ({ page }, testInfo) => {
14
13
  await (0, _setup_1.captureScreenshot)(page, testInfo);
15
14
  await (0, _setup_1.captureFailureVideo)(page, testInfo);
@@ -7,6 +7,6 @@ function formatDate(date = new Date()) {
7
7
  const dayPattern = `0?${day}`;
8
8
  const month = date.toLocaleString('en-GB', { month: 'short' });
9
9
  const monthPattern = month === 'Sep' ? 'Sept?' : month;
10
- return new RegExp(`${dayPattern} ${monthPattern} ${year}`);
10
+ return new RegExp(`${monthPattern} ${dayPattern}, ${year}`);
11
11
  }
12
12
  exports.formatDate = formatDate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.284",
3
+ "version": "0.0.286",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",