@camunda/e2e-test-suite 0.0.277 → 0.0.279

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.
@@ -46,7 +46,9 @@ class OperateProcessesPage {
46
46
  .getByTestId('filter-finished-instances')
47
47
  .getByRole('checkbox');
48
48
  this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
49
- this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
49
+ this.processInstanceKeyTextBox = page
50
+ .locator('#processInstanceKey')
51
+ .or(page.locator('#ids'));
50
52
  this.whatsNewPopUp = page.getByRole('heading', {
51
53
  name: "Here's what moved in Operate",
52
54
  });
@@ -23,7 +23,9 @@ class ClusterSecretsPage {
23
23
  name: 'Create new secret',
24
24
  });
25
25
  this.keyInput = page.getByRole('textbox', { name: 'key' });
26
- this.valueInput = page.getByLabel('Value', { exact: true });
26
+ this.valueInput = page
27
+ .getByRole('dialog')
28
+ .getByLabel('Value', { exact: true });
27
29
  this.createButton = page.getByRole('button', { name: 'Create', exact: true });
28
30
  this.connectorSecretsTable = page.getByRole('table', {
29
31
  name: 'Connector secrets',
@@ -194,7 +194,13 @@ class ConsoleOrganizationPage {
194
194
  }
195
195
  }
196
196
  async clickUsersTab() {
197
+ await (0, test_1.expect)(this.usersTab).toBeVisible({ timeout: 60000 });
197
198
  await this.usersTab.click({ timeout: 60000 });
199
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(this.page, this.filterTableSearchbox, {
200
+ postAction: async () => {
201
+ await this.usersTab.click({ timeout: 60000 });
202
+ },
203
+ });
198
204
  }
199
205
  async clickOptionsButton() {
200
206
  await this.optionsButton.click({ timeout: 90000 });
@@ -287,7 +293,7 @@ class ConsoleOrganizationPage {
287
293
  }
288
294
  async clickMainUser(email) {
289
295
  await this.filterTable([email]);
290
- const user = this.rows.filter({ hasText: email }).first();
296
+ const user = this.rows.filter({ hasText: email }).getByRole('link').first();
291
297
  await (0, test_1.expect)(user).toBeVisible({ timeout: 60000 });
292
298
  await user.click();
293
299
  }
@@ -293,6 +293,7 @@ class ClusterDetailsPage {
293
293
  await (0, test_1.expect)(this.createAlertsDialog).toBeVisible();
294
294
  await this.selectEmailRadioButton();
295
295
  await this.clickCreateAlertButton();
296
+ await (0, sleep_1.sleep)(5000);
296
297
  }
297
298
  async selectEmailRadioButton() {
298
299
  await (0, test_1.expect)(this.emailRadioButton).toBeVisible({ timeout: 60000 });
@@ -46,7 +46,9 @@ class OperateProcessesPage {
46
46
  .getByTestId('filter-finished-instances')
47
47
  .getByRole('checkbox');
48
48
  this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
49
- this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
49
+ this.processInstanceKeyTextBox = page
50
+ .locator('#processInstanceKey')
51
+ .or(page.locator('#ids'));
50
52
  this.whatsNewPopUp = page.getByRole('heading', {
51
53
  name: "Here's what moved in Operate",
52
54
  });
@@ -46,7 +46,9 @@ class OperateProcessesPage {
46
46
  .getByTestId('filter-finished-instances')
47
47
  .getByRole('checkbox');
48
48
  this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
49
- this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
49
+ this.processInstanceKeyTextBox = page
50
+ .locator('#processInstanceKey')
51
+ .or(page.locator('#ids'));
50
52
  this.whatsNewPopUp = page.getByRole('heading', {
51
53
  name: "Here's what moved in Operate",
52
54
  });
@@ -42,7 +42,9 @@ class OperateProcessesPage {
42
42
  .getByTestId('filter-finished-instances')
43
43
  .getByRole('checkbox');
44
44
  this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
45
- this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
45
+ this.processInstanceKeyTextBox = page
46
+ .locator('#processInstanceKey')
47
+ .or(page.locator('#ids'));
46
48
  this.whatsNewPopUp = page.getByRole('heading', {
47
49
  name: "Here's what moved in Operate",
48
50
  });
@@ -42,7 +42,9 @@ class OperateProcessesPage {
42
42
  .getByTestId('filter-finished-instances')
43
43
  .getByRole('checkbox');
44
44
  this.moreFiltersButton = page.getByRole('button', { name: 'More filters' });
45
- this.processInstanceKeyTextBox = page.locator('#processInstanceKey');
45
+ this.processInstanceKeyTextBox = page
46
+ .locator('#processInstanceKey')
47
+ .or(page.locator('#ids'));
46
48
  this.whatsNewPopUp = page.getByRole('heading', {
47
49
  name: "Here's what moved in Operate",
48
50
  });
@@ -178,7 +178,6 @@ _8_7_1.test.describe('Web Modeler User Flow Tests', () => {
178
178
  await modelerHomePage.clickOpenOrganizationsButton();
179
179
  await modelerHomePage.clickManageButton();
180
180
  await consoleOrganizationsPage.clickUsersTab();
181
- await page.reload();
182
181
  await consoleOrganizationsPage.filterTable([
183
182
  process.env.C8_USERNAME_TEST_3,
184
183
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.277",
3
+ "version": "0.0.279",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",