@camunda/e2e-test-suite 0.0.62 → 0.0.64

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.
@@ -843,6 +843,7 @@ class ModelerCreatePage {
843
843
  }
844
844
  async fillCandidateUsersInput(candidateUser) {
845
845
  await this.candidateUsersInput.fill(candidateUser, { timeout: 60000 });
846
+ await this.page.waitForTimeout(1000);
846
847
  }
847
848
  async clickCandidateGroupsInput() {
848
849
  await this.candidateGroupsInput.click({ timeout: 60000 });
@@ -855,6 +856,7 @@ class ModelerCreatePage {
855
856
  }
856
857
  async fillAssigneeInput(name) {
857
858
  await this.assigneeInput.fill(name, { timeout: 60000 });
859
+ await this.page.waitForTimeout(1000);
858
860
  }
859
861
  async clickTenantIdInput() {
860
862
  await (0, test_1.expect)(this.tenantIdInput).toBeVisible({ timeout: 60000 });
@@ -43,7 +43,7 @@ exports.createUserAndAssignToRole = createUserAndAssignToRole;
43
43
  async function assignMappingToRole(page, ocIdentityHomePage, ocIdentityRolesPage, role, mappingRuleId, testMappings) {
44
44
  await ocIdentityHomePage.clickRolesTab();
45
45
  try {
46
- await (0, test_1.expect)(page.getByText(role).first()).toBeVisible({
46
+ await (0, test_1.expect)(ocIdentityRolesPage.roleCell(role).first()).toBeVisible({
47
47
  timeout: 20000,
48
48
  });
49
49
  }
@@ -11,6 +11,7 @@ const sleep_1 = require("../../utils/sleep");
11
11
  const node_process_1 = __importDefault(require("node:process"));
12
12
  const KeycloakUtils_1 = require("../../pages/SM-8.9/KeycloakUtils");
13
13
  const expectLocatorWithPagination_1 = require("../../utils/assertionHelpers/expectLocatorWithPagination");
14
+ const expectTextWithPagination_1 = require("../../utils/assertionHelpers/expectTextWithPagination");
14
15
  SM_8_9_1.test.describe('Identity User Flow Tests', () => {
15
16
  SM_8_9_1.test.afterEach(async ({ page }, testInfo) => {
16
17
  await (0, _setup_1.captureScreenshot)(page, testInfo);
@@ -139,13 +140,12 @@ SM_8_9_1.test.describe('Identity User Flow Tests', () => {
139
140
  await navigationPage.goToOCIdentity();
140
141
  });
141
142
  await SM_8_9_1.test.step('Assert Admin Mapping and No Mapping Defined for Test User', async () => {
143
+ await ocIdentityHomePage.clickRolesTab();
144
+ await ocIdentityRolesPage.clickRole('admin');
145
+ await (0, test_1.expect)(ocIdentityRolesPage.roleCell('demo')).toBeVisible();
142
146
  await ocIdentityHomePage.clickMappingRulesTab();
143
- await (0, test_1.expect)(page.getByText('demo-user-mapping').first()).toBeVisible({
144
- timeout: 30000,
145
- });
146
- await (0, test_1.expect)(page.getByText(testUser).first()).not.toBeVisible({
147
- timeout: 30000,
148
- });
147
+ await (0, sleep_1.sleep)(1000);
148
+ await (0, expectTextWithPagination_1.expectTextWithPagination)(page, testUser, { shouldBeVisible: false });
149
149
  });
150
150
  await SM_8_9_1.test.step('Log out from Project Admin', async () => {
151
151
  await settingsPage.clickOpenSettingsButton();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",