Skip to content

Commit 13b93b3

Browse files
EugeniyKiyashkoajivanyandev
authored andcommitted
chore (deps): bump testcafe to v3.7.5 (#34085)
1 parent 98590d2 commit 13b93b3

8 files changed

Lines changed: 101 additions & 248 deletions

File tree

apps/demos/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"stylelint-config-recommended-vue": "1.6.1",
154154
"stylelint-config-standard": "38.0.0",
155155
"systemjs-builder": "0.16.15",
156-
"testcafe": "3.7.4",
156+
"testcafe": "catalog:",
157157
"testcafe-reporter-spec-time": "4.0.0",
158158
"ts-node": "10.9.2",
159159
"vue-eslint-parser": "catalog:",

e2e/testcafe-devextreme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"minimist": "1.2.8",
2020
"mockdate": "3.0.5",
2121
"nconf": "0.12.1",
22-
"testcafe": "3.7.4",
22+
"testcafe": "catalog:",
2323
"testcafe-reporter-spec-time": "4.0.0",
2424
"ts-node": "10.9.2",
2525
"eslint": "catalog:",

e2e/wrappers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"karma-coverage": "2.2.1",
7575
"karma-jasmine": "5.1.0",
7676
"karma-jasmine-html-reporter": "2.1.0",
77-
"testcafe": "3.7.4",
77+
"testcafe": "catalog:",
7878
"typescript": "5.8.3",
7979
"vite": "8.0.16"
8080
},

packages/testcafe-models/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"testcafe": "*"
55
},
66
"devDependencies": {
7-
"devextreme": "workspace:*"
7+
"devextreme": "workspace:*",
8+
"testcafe": "catalog:"
89
},
910
"version": "26.1.3"
1011
}

patches/testcafe-hammerhead@31.7.7.patch

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
diff --git a/lib/client/hammerhead.js b/lib/client/hammerhead.js
2+
index 0ba2f29..b291413 100644
3+
--- a/lib/client/hammerhead.js
4+
+++ b/lib/client/hammerhead.js
5+
@@ -3578,7 +3578,7 @@
6+
}
7+
function isShadowUIElement(element) {
8+
// @ts-ignore
9+
- return !!element[INTERNAL_PROPS.shadowUIElement];
10+
+ return !!element && !!element[INTERNAL_PROPS.shadowUIElement];
11+
}
12+
function isWindow(instance) {
13+
try {
14+
@@ -40365,6 +40365,10 @@
15+
this._onFocus = function (e) {
16+
var focusedEl = nativeMethods.eventTargetGetter.call(e);
17+
var activeEl = getActiveElement(document);
18+
+ // Chrome >=146: document.activeElement can transiently be null while focus moves.
19+
+ // Guards against TestCafe issue #8493 (TypeError in isShadowUIElement(null)).
20+
+ if (!focusedEl || !activeEl)
21+
+ return;
22+
if (!isShadowUIElement(focusedEl) && !isShadowUIElement(activeEl))
23+
shadowUI.setLastActiveElement(activeEl);
24+
};

0 commit comments

Comments
 (0)