Skip to content

Update dependency mocha to v11.2.2 #2291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mocha (source) 11.1.0 -> 11.2.2 age adoption passing confidence

Release Notes

mochajs/mocha (mocha)

v11.2.2

Compare Source

🩹 Fixes
📚 Documentation

v11.2.1

Compare Source

🩹 Fixes
📚 Documentation
🧹 Chores

v11.2.0

Compare Source

🌟 Features
📚 Documentation
🧹 Chores

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented May 1, 2025

Deploy Preview for selenium-dev failed.

Name Link
🔨 Latest commit 0e913b6
🔍 Latest deploy log https://app.netlify.com/sites/selenium-dev/deploys/6813c3ea2497c80008b6195e

Copy link
Contributor

qodo-merge-pro bot commented May 1, 2025

CI Feedback 🧐

(Feedback updated until commit 0e913b6)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: tests (windows, stable)

Failed stage: Run tests [❌]

Failed test name: Multiple tests failed

Failure summary:

The action failed because multiple tests in the JavaScript test suite failed after 3 retry attempts.
The failing tests were:

1. "Mouse move by offset" test - Failed with assertion error comparing false vs true at line 22 in
test\actionsApi\mouse\moveByOffset.spec.js
2. "Browsing Context Inspector - can listen to browsing
context destroyed event" - Failed with assertion error at line 117 in
test\bidirectional\browsingContextInspector.spec.js
3. "Network events - can listen to event before
request is sent" - Failed with URL mismatch error at line 33 in
test\bidirectional\network_events.spec.js
4. "Network events - can redirect http equiv" - Failed
with assertion error at line 79 in test\bidirectional\network_events.spec.js
5. "Service Test - Set
Driver Location" - Failed with timeout error waiting for WebDriver server

Relevant error logs:
1:  ##[group]Operating System
2:  Microsoft Windows Server 2022
...

219:  ##[endgroup]
220:  added 122 packages, and audited 123 packages in 10s
221:  47 packages are looking for funding
222:  run `npm fund` for details
223:  found 0 vulnerabilities
224:  ##[group]Run nick-invision/retry@v3.0.2
225:  with:
226:  timeout_minutes: 20
227:  max_attempts: 3
228:  command: cd examples/javascript
229:  npm test
230:  
231:  retry_wait_seconds: 10
232:  polling_interval_seconds: 1
233:  warning_on_retry: true
234:  continue_on_error: false
235:  env:
...

271:  Move to element
272:  ✔ Mouse move into an element (1944ms)
273:  Right click
274:  ✔ Mouse move and right click on an element (2751ms)
275:  Scroll by given amount from element
276:  ✔ Scroll to element by 300 (567ms)
277:  Wheel scroll to element
278:  ✔ Scroll to the element (297ms)
279:  Actions API - Wheel Tests
280:  ✔ Scroll to element (242ms)
281:  ✔ Scroll by given amount (568ms)
282:  ✔ Scroll from an element by a given amount (653ms)
283:  ✔ Scroll from an element with an offset (586ms)
284:  ✔ Scroll from an offset of origin (element) by given amount (1078ms)
285:  Integration Tests
286:  ✔ test navigate and listen to errors (5333ms)
287:  Browsing Context
...

328:  Locate Nodes
329:  - can locate nodes
330:  - can locate node
331:  - can locate node with css locator
332:  - can locate node with xpath locator
333:  - can locate node with inner test locator
334:  - can locate node with max node count
335:  - can locate node with none ownership value
336:  - can locate node with root ownership value
337:  - can locate node with given start nodes
338:  - can locate nodes in a given sandbox
339:  - can find element
340:  - can find elements
341:  Log Inspector
342:  ✔ test listen to console log (3616ms)
343:  ✔ test listen to javascript error log (2794ms)
344:  ✔ test retrieve stack trace for a log (2899ms)
...

377:  ✔ can disown handles in realm (5414ms)
378:  ✔ can get all realms (4815ms)
379:  ✔ can get realm by type (4537ms)
380:  ✔ can get realm in browsing context (4369ms)
381:  ✔ can get realm in browsing context by type (2458ms)
382:  ✔ can add preload script (2586ms)
383:  ✔ can add preload script to sandbox (2395ms)
384:  ✔ can remove preload script (3726ms)
385:  Script events
386:  ✔ can listen to channel message (4153ms)
387:  ✔ can listen to realm created message (3456ms)
388:  - can listen to realm destroyed message
389:  BiDi Logging
390:  ✔ can listen to console log (5479ms)
391:  ✔ can remove console log handler (5585ms)
392:  ✔ can listen to javascript error (6110ms)
393:  ✔ can remove to javascript error handler (6326ms)
394:  BiDi Script
...

543:  ✔ Should be able to switch to newWindow and newTab and close (233ms)
544:  ✔ Should be able to getWindow Size (84ms)
545:  ✔ Should be able to getWindow position (60ms)
546:  Select Tests
547:  ✔ Select an option (864ms)
548:  ✔ Select by multiple options (1059ms)
549:  ✔ Try selecting disabled option
550:  Virtual authenticator
551:  ✔ Register a virtual authenticator
552:  ✔ Remove authenticator
553:  ✔ Createa and add residential key
554:  ✔ Add resident credential not supported when authenticator uses U2F protocol
555:  ✔ Create and add non residential key
556:  ✔ Get credential
557:  ✔ Remove all credentials
558:  ##[warning]Attempt 1 failed. Reason: Timeout of 1200000ms hit
559:  ##[endgroup]
...

588:  Move to element
589:  ✔ Mouse move into an element (1726ms)
590:  Right click
591:  ✔ Mouse move and right click on an element (2234ms)
592:  Scroll by given amount from element
593:  ✔ Scroll to element by 300 (491ms)
594:  Wheel scroll to element
595:  ✔ Scroll to the element (272ms)
596:  Actions API - Wheel Tests
597:  ✔ Scroll to element (268ms)
598:  ✔ Scroll by given amount (566ms)
599:  ✔ Scroll from an element by a given amount (614ms)
600:  ✔ Scroll from an element with an offset (604ms)
601:  ✔ Scroll from an offset of origin (element) by given amount (1074ms)
602:  Integration Tests
603:  ✔ test navigate and listen to errors (3419ms)
604:  Browsing Context
...

645:  Locate Nodes
646:  - can locate nodes
647:  - can locate node
648:  - can locate node with css locator
649:  - can locate node with xpath locator
650:  - can locate node with inner test locator
651:  - can locate node with max node count
652:  - can locate node with none ownership value
653:  - can locate node with root ownership value
654:  - can locate node with given start nodes
655:  - can locate nodes in a given sandbox
656:  - can find element
657:  - can find elements
658:  Log Inspector
659:  ✔ test listen to console log (3732ms)
660:  ✔ test listen to javascript error log (3777ms)
661:  ✔ test retrieve stack trace for a log (3707ms)
...

694:  ✔ can disown handles in realm (3650ms)
695:  ✔ can get all realms (4676ms)
696:  ✔ can get realm by type (4740ms)
697:  ✔ can get realm in browsing context (3576ms)
698:  ✔ can get realm in browsing context by type (3393ms)
699:  ✔ can add preload script (2249ms)
700:  ✔ can add preload script to sandbox (3861ms)
701:  ✔ can remove preload script (2867ms)
702:  Script events
703:  ✔ can listen to channel message (4111ms)
704:  ✔ can listen to realm created message (3633ms)
705:  - can listen to realm destroyed message
706:  BiDi Logging
707:  ✔ can listen to console log (5776ms)
708:  ✔ can remove console log handler (6169ms)
709:  ✔ can listen to javascript error (6505ms)
710:  ✔ can remove to javascript error handler (6370ms)
711:  BiDi Script
...

865:  ✔ Select by multiple options (1033ms)
866:  ✔ Try selecting disabled option
867:  Virtual authenticator
868:  ✔ Register a virtual authenticator
869:  ✔ Remove authenticator
870:  ✔ Createa and add residential key
871:  ✔ Add resident credential not supported when authenticator uses U2F protocol
872:  ✔ Create and add non residential key
873:  ✔ Get credential
874:  ✔ Remove all credentials
875:  ✔ Set is user verified
876:  Virtual authenticator options
877:  ✔ Virtual options
878:  ✔ User verified
879:  Waits
880:  ✔ fail (1285ms)
881:  ✔ sleep (2206ms)
882:  ✔ implicit (1172ms)
883:  ✔ explicit (1396ms)
884:  172 passing (18m)
885:  21 pending
886:  4 failing
887:  1) Mouse move by offset
888:  From element:
889:  AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
890:  false !== true
891:  + expected - actual
892:  -false
893:  +true
894:  at Context.<anonymous> (test\actionsApi\mouse\moveByOffset.spec.js:22:12)
895:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
896:  2) Browsing Context Inspector
897:  can listen to browsing context destroyed event:
898:  AssertionError [ERR_ASSERTION]: [] == null
899:  at Context.<anonymous> (test\bidirectional\browsingContextInspector.spec.js:117:12)
900:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
901:  3) Network events
902:  can redirect http equiv:
903:  AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
904:  assert(beforeRequestEvent[3].request.url.includes('redirected.html'))
905:  + expected - actual
906:  -false
907:  +true
908:  at Context.<anonymous> (test\bidirectional\network_events.spec.js:79:5)
909:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
910:  4) Service Test
911:  Set Driver Location:
912:  Error: Timed out waiting for the WebDriver server at http://127.0.0.1:61004/C:\Users\runneradmin\.cache\selenium\chromedriver\win64\136.0.7103.49\chromedriver.exe
913:  at onError (node_modules\selenium-webdriver\http\util.js:89:16)
914:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
915:  ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1
916:  ##[endgroup]
...

945:  Move to element
946:  ✔ Mouse move into an element (1690ms)
947:  Right click
948:  ✔ Mouse move and right click on an element (2142ms)
949:  Scroll by given amount from element
950:  ✔ Scroll to element by 300 (556ms)
951:  Wheel scroll to element
952:  ✔ Scroll to the element (212ms)
953:  Actions API - Wheel Tests
954:  ✔ Scroll to element (220ms)
955:  ✔ Scroll by given amount (573ms)
956:  ✔ Scroll from an element by a given amount (638ms)
957:  ✔ Scroll from an element with an offset (601ms)
958:  ✔ Scroll from an offset of origin (element) by given amount (1089ms)
959:  Integration Tests
960:  ✔ test navigate and listen to errors (4949ms)
961:  Browsing Context
...

1002:  Locate Nodes
1003:  - can locate nodes
1004:  - can locate node
1005:  - can locate node with css locator
1006:  - can locate node with xpath locator
1007:  - can locate node with inner test locator
1008:  - can locate node with max node count
1009:  - can locate node with none ownership value
1010:  - can locate node with root ownership value
1011:  - can locate node with given start nodes
1012:  - can locate nodes in a given sandbox
1013:  - can find element
1014:  - can find elements
1015:  Log Inspector
1016:  ✔ test listen to console log (2730ms)
1017:  ✔ test listen to javascript error log (3784ms)
1018:  ✔ test retrieve stack trace for a log (3015ms)
...

1051:  ✔ can disown handles in realm (3922ms)
1052:  ✔ can get all realms (4632ms)
1053:  ✔ can get realm by type (2454ms)
1054:  ✔ can get realm in browsing context (3725ms)
1055:  ✔ can get realm in browsing context by type (4391ms)
1056:  ✔ can add preload script (4567ms)
1057:  ✔ can add preload script to sandbox (2846ms)
1058:  ✔ can remove preload script (4414ms)
1059:  Script events
1060:  ✔ can listen to channel message (4334ms)
1061:  ✔ can listen to realm created message (3750ms)
1062:  - can listen to realm destroyed message
1063:  BiDi Logging
1064:  ✔ can listen to console log (5866ms)
1065:  ✔ can remove console log handler (5751ms)
1066:  ✔ can listen to javascript error (5490ms)
1067:  ✔ can remove to javascript error handler (5576ms)
1068:  BiDi Script
...

1222:  ✔ Select by multiple options (1023ms)
1223:  ✔ Try selecting disabled option
1224:  Virtual authenticator
1225:  ✔ Register a virtual authenticator
1226:  ✔ Remove authenticator
1227:  ✔ Createa and add residential key
1228:  ✔ Add resident credential not supported when authenticator uses U2F protocol
1229:  ✔ Create and add non residential key
1230:  ✔ Get credential
1231:  ✔ Remove all credentials
1232:  ✔ Set is user verified
1233:  Virtual authenticator options
1234:  ✔ Virtual options
1235:  ✔ User verified
1236:  Waits
1237:  ✔ fail (1214ms)
1238:  ✔ sleep (2310ms)
1239:  ✔ implicit (1168ms)
1240:  ✔ explicit (1334ms)
1241:  171 passing (18m)
1242:  21 pending
1243:  5 failing
1244:  1) Mouse move by offset
1245:  From element:
1246:  AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
1247:  false !== true
1248:  + expected - actual
1249:  -false
1250:  +true
1251:  at Context.<anonymous> (test\actionsApi\mouse\moveByOffset.spec.js:22:12)
1252:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
1253:  2) Browsing Context Inspector
1254:  can listen to browsing context destroyed event:
1255:  AssertionError [ERR_ASSERTION]: [] == null
1256:  at Context.<anonymous> (test\bidirectional\browsingContextInspector.spec.js:117:12)
1257:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
1258:  3) Network events
1259:  can listen to event before request is sent:
1260:  AssertionError [ERR_ASSERTION]: 'https://www.selenium.dev/favicon.ico' == 'https://www.selenium.dev/selenium/web/blank.html'
1261:  + expected - actual
1262:  -https://www.selenium.dev/favicon.ico
1263:  +https://www.selenium.dev/selenium/web/blank.html
1264:  at Context.<anonymous> (test\bidirectional\network_events.spec.js:33:12)
1265:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
1266:  4) Network events
1267:  can redirect http equiv:
1268:  AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
1269:  assert(beforeRequestEvent[3].request.url.includes('redirected.html'))
1270:  + expected - actual
1271:  -false
1272:  +true
1273:  at Context.<anonymous> (test\bidirectional\network_events.spec.js:79:5)
1274:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
1275:  5) Service Test
1276:  Set Driver Location:
1277:  Error: Timed out waiting for the WebDriver server at http://127.0.0.1:53089/C:\Users\runneradmin\.cache\selenium\chromedriver\win64\136.0.7103.49\chromedriver.exe
1278:  at onError (node_modules\selenium-webdriver\http\util.js:89:16)
1279:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
1280:  ##[endgroup]
1281:  ##[error]Final attempt failed. Child_process exited with error code 1
1282:  Post job cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants