@camunda/e2e-test-suite 0.0.1475 → 0.0.1477

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.
@@ -6,6 +6,7 @@ const _setup_1 = require("../../test-setup.js");
6
6
  const sleep_1 = require("../../utils/sleep");
7
7
  const UtilitiesPage_1 = require("../../pages/SM-8.9/UtilitiesPage");
8
8
  const resetSession_1 = require("../../utils/resetSession");
9
+ const expectLocatorWithRetry_1 = require("../../utils/assertionHelpers/expectLocatorWithRetry");
9
10
  const mtTenant = process.env.IS_MT === 'true' ? '<default>' : '';
10
11
  SM_8_9_1.test.describe.configure({ mode: 'parallel' });
11
12
  SM_8_9_1.test.describe('HTO User Flow Tests', () => {
@@ -135,10 +136,15 @@ SM_8_9_1.test.describe('HTO User Flow Tests', () => {
135
136
  await (0, test_1.expect)(operateHomePage.editVariableSpinner).not.toBeVisible({
136
137
  timeout: 120000,
137
138
  });
138
- await (0, test_1.expect)(page.getByText('"testValue"')).not.toBeVisible({
139
- timeout: 90000,
139
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, page.getByText('"updatedValue"'), {
140
+ totalTimeout: 180000,
141
+ visibilityTimeout: 30000,
142
+ maxRetries: 6,
143
+ postAction: async () => {
144
+ await page.reload();
145
+ },
140
146
  });
141
- await (0, test_1.expect)(page.getByText('"updatedValue"')).toBeVisible({
147
+ await (0, test_1.expect)(page.getByText('"testValue"')).not.toBeVisible({
142
148
  timeout: 30000,
143
149
  });
144
150
  await (0, sleep_1.sleep)(10000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1475",
3
+ "version": "0.0.1477",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",