Skip to content

Update dependency mocha to v11.5.0 #2321

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

Merged
merged 1 commit into from
May 28, 2025
Merged

Update dependency mocha to v11.5.0 #2321

merged 1 commit into from
May 28, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 27, 2025

This PR contains the following updates:

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

Release Notes

mochajs/mocha (mocha)

v11.5.0

Compare Source

🌟 Features

v11.4.0

Compare Source

🌟 Features
📚 Documentation
  • added CHANGELOG.md note around 11.1 yargs-parser update (#​5362) (618415d)

v11.3.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 27, 2025

Deploy Preview for selenium-dev ready!

Name Link
🔨 Latest commit 32841af
🔍 Latest deploy log https://app.netlify.com/projects/selenium-dev/deploys/6836f30fe6b5f900080fd903
😎 Deploy Preview https://deploy-preview-2321--selenium-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

qodo-merge-pro bot commented May 27, 2025

CI Feedback 🧐

(Feedback updated until commit 2e8bd24)

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

Action: tests (ubuntu, stable)

Failed stage: Run tests [❌]

Failed test name: Service Test - Set Driver Location

Failure summary:

The action failed with 3 failing tests:
1. "Service Test - Set Driver Location" failed with a
SessionNotCreatedError because the Chrome user data directory was already in use. The error suggests
specifying a unique value for the --user-data-dir argument.
2. "Browsing Context" test failed in its
"after each" hook with an "Unexpected server response: 404" error.
3. Another "Browsing Context"
test error occurred where done() was called multiple times in the same hook.

Relevant error logs:
1:  ##[group]Operating System
2:  Ubuntu
...

226:  > Warning:          Could not resolve keysym XF86CameraAccessToggle
227:  > Warning:          Could not resolve keysym XF86NextElement
228:  > Warning:          Could not resolve keysym XF86PreviousElement
229:  > Warning:          Could not resolve keysym XF86AutopilotEngageToggle
230:  > Warning:          Could not resolve keysym XF86MarkWaypoint
231:  > Warning:          Could not resolve keysym XF86Sos
232:  > Warning:          Could not resolve keysym XF86NavChart
233:  > Warning:          Could not resolve keysym XF86FishingChart
234:  > Warning:          Could not resolve keysym XF86SingleRangeRadar
235:  > Warning:          Could not resolve keysym XF86DualRangeRadar
236:  > Warning:          Could not resolve keysym XF86RadarOverlay
237:  > Warning:          Could not resolve keysym XF86TraditionalSonar
238:  > Warning:          Could not resolve keysym XF86ClearvuSonar
239:  > Warning:          Could not resolve keysym XF86SidevuSonar
240:  > Warning:          Could not resolve keysym XF86NavInfo
241:  Errors from xkbcomp are not fatal to the X server
242:  ##[group]Run actions/setup-node@v4
...

273:  ##[endgroup]
274:  added 121 packages, and audited 122 packages in 2s
275:  47 packages are looking for funding
276:  run `npm fund` for details
277:  found 0 vulnerabilities
278:  ##[group]Run nick-invision/[email protected]
279:  with:
280:  timeout_minutes: 20
281:  max_attempts: 2
282:  command: cd examples/javascript
283:  npm test
284:  
285:  retry_wait_seconds: 10
286:  polling_interval_seconds: 1
287:  warning_on_retry: true
288:  continue_on_error: false
289:  env:
...

301:  ✔ Pause (2417ms)
302:  ✔ Clear (169ms)
303:  Keyboard Action - Keys test
304:  ✔ KeyDown (61ms)
305:  ✔ KeyUp (80ms)
306:  ✔ sendKeys (67ms)
307:  ✔ Designated Element (196ms)
308:  ✔ Copy and Paste (151ms)
309:  Actions API - Wheel Tests
310:  ✔ Scroll to element (107ms)
311:  ✔ Scroll by given amount (561ms)
312:  ✔ Scroll from an element by a given amount (574ms)
313:  ✔ Scroll from an element with an offset (576ms)
314:  ✔ Scroll from an offset of origin (element) by given amount (1069ms)
315:  Integration Tests
316:  ✔ test navigate and listen to errors (3782ms)
317:  Browsing Context
...

358:  Locate Nodes
359:  - can locate nodes
360:  - can locate node
361:  - can locate node with css locator
362:  - can locate node with xpath locator
363:  - can locate node with inner test locator
364:  - can locate node with max node count
365:  - can locate node with none ownership value
366:  - can locate node with root ownership value
367:  - can locate node with given start nodes
368:  - can locate nodes in a given sandbox
369:  - can find element
370:  - can find elements
371:  Log Inspector
372:  ✔ test listen to console log (2566ms)
373:  ✔ test listen to javascript error log (2297ms)
374:  ✔ test retrieve stack trace for a log (2494ms)
...

494:  Usage Test
495:  ✔ Creates driver wit Selenium Manager (555ms)
496:  Virtual authenticator
497:  ✔ Register a virtual authenticator
498:  ✔ Remove authenticator
499:  ✔ Createa and add residential key
500:  ✔ Add resident credential not supported when authenticator uses U2F protocol
501:  ✔ Create and add non residential key
502:  ✔ Get credential
503:  ✔ Remove all credentials
504:  ✔ Set is user verified
505:  Virtual authenticator options
506:  ✔ Virtual options
507:  ✔ User verified
508:  Waits
509:  ✔ fail (515ms)
510:  ✔ sleep (2075ms)
511:  ✔ implicit (1092ms)
512:  ✔ explicit (1147ms)
513:  154 passing (5m)
514:  21 pending
515:  1 failing
516:  1) Service Test
517:  Set Driver Location:
518:  SessionNotCreatedError: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir
519:  at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:523:15)
520:  at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:524:13)
521:  at Executor.execute (node_modules/selenium-webdriver/lib/http.js:456:28)
522:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
523:  ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1
524:  ##[endgroup]
...

529:  ✔ Pause (2240ms)
530:  ✔ Clear (166ms)
531:  Keyboard Action - Keys test
532:  ✔ KeyDown (58ms)
533:  ✔ KeyUp (81ms)
534:  ✔ sendKeys (64ms)
535:  ✔ Designated Element (206ms)
536:  ✔ Copy and Paste (175ms)
537:  Actions API - Wheel Tests
538:  ✔ Scroll to element (84ms)
539:  ✔ Scroll by given amount (545ms)
540:  ✔ Scroll from an element by a given amount (576ms)
541:  ✔ Scroll from an element with an offset (560ms)
542:  ✔ Scroll from an offset of origin (element) by given amount (1051ms)
543:  Integration Tests
544:  ✔ test navigate and listen to errors (2429ms)
545:  Browsing Context
...

561:  Locate Nodes
562:  - can locate nodes
563:  - can locate node
564:  - can locate node with css locator
565:  - can locate node with xpath locator
566:  - can locate node with inner test locator
567:  - can locate node with max node count
568:  - can locate node with none ownership value
569:  - can locate node with root ownership value
570:  - can locate node with given start nodes
571:  - can locate nodes in a given sandbox
572:  - can find element
573:  - can find elements
574:  Log Inspector
575:  ✔ test listen to console log (2310ms)
576:  ✔ test listen to javascript error log (2426ms)
577:  ✔ test retrieve stack trace for a log (2318ms)
...

697:  Usage Test
698:  ✔ Creates driver wit Selenium Manager (550ms)
699:  Virtual authenticator
700:  ✔ Register a virtual authenticator
701:  ✔ Remove authenticator
702:  ✔ Createa and add residential key
703:  ✔ Add resident credential not supported when authenticator uses U2F protocol
704:  ✔ Create and add non residential key
705:  ✔ Get credential
706:  ✔ Remove all credentials
707:  ✔ Set is user verified
708:  Virtual authenticator options
709:  ✔ Virtual options
710:  ✔ User verified
711:  Waits
712:  ✔ fail (510ms)
713:  ✔ sleep (2073ms)
714:  ✔ implicit (1091ms)
715:  ✔ explicit (1145ms)
716:  128 passing (3m)
717:  20 pending
718:  3 failing
719:  1) Browsing Context
720:  "after each" hook for "test create a browsing context for given id":
721:  Uncaught Error: Unexpected server response: 404
722:  at ClientRequest.<anonymous> (node_modules/ws/lib/websocket.js:913:7)
723:  at ClientRequest.emit (node:events:518:28)
724:  at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:716:27)
725:  at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)
726:  at Socket.socketOnData (node:_http_client:558:22)
727:  at Socket.emit (node:events:518:28)
728:  at addChunk (node:internal/streams/readable:561:12)
729:  at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
730:  at Readable.push (node:internal/streams/readable:392:5)
731:  at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
732:  2) Browsing Context
733:  "after each" hook for "test create a browsing context for given id":
734:  Error: done() called multiple times in hook <Browsing Context "after each" hook for "test create a browsing context for given id"> of file /home/runner/work/seleniumhq.github.io/seleniumhq.github.io/examples/javascript/test/bidirectional/browsingContext.spec.js
735:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
736:  3) Service Test
737:  Set Driver Location:
738:  SessionNotCreatedError: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir
739:  at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:523:15)
740:  at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:524:13)
741:  at Executor.execute (node_modules/selenium-webdriver/lib/http.js:456:28)
742:  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
743:  ##[endgroup]
744:  ##[error]Final attempt failed. Child_process exited with error code 3
745:  Post job cleanup.

@renovate renovate bot force-pushed the renovate/mocha-11.x branch from 2e8bd24 to 32841af Compare May 28, 2025 11:27
@diemol diemol merged commit 8daed30 into trunk May 28, 2025
12 checks passed
@diemol diemol deleted the renovate/mocha-11.x branch May 28, 2025 12:09
selenium-ci added a commit that referenced this pull request May 28, 2025
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.

1 participant