@camunda/e2e-test-suite 0.0.553 → 0.0.555

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.
@@ -106,7 +106,9 @@ class Authorization {
106
106
  });
107
107
  }
108
108
  await this.createAuthorizationSubmitButton.click();
109
- await (0, test_1.expect)(this.createAuthorizationModal).not.toBeVisible();
109
+ await (0, test_1.expect)(this.createAuthorizationModal).not.toBeVisible({
110
+ timeout: 30000,
111
+ });
110
112
  await this.selectResourceTypeTab(authorization.resourceType).click();
111
113
  const item = this.page.getByRole('row').filter({
112
114
  hasText: `${authorization.ownerId}${authorization.resourceId}`,
@@ -63,10 +63,14 @@ function shouldSkipProxying(value) {
63
63
  return true;
64
64
  }
65
65
  // Best-effort detection based on constructor name to avoid importing Playwright types.
66
+ // Playwright 1.60+ exposes these classes as `_Locator` / `_FrameLocator` / `_ElementHandle`.
66
67
  const ctorName = value.constructor?.name;
67
68
  return (ctorName === 'Locator' ||
69
+ ctorName === '_Locator' ||
68
70
  ctorName === 'FrameLocator' ||
69
- ctorName === 'ElementHandle');
71
+ ctorName === '_FrameLocator' ||
72
+ ctorName === 'ElementHandle' ||
73
+ ctorName === '_ElementHandle');
70
74
  }
71
75
  // Cache to avoid wrapping the same object multiple times (which can lead to duplicate logs)
72
76
  const proxyCache = new WeakMap();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.553",
3
+ "version": "0.0.555",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",