You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
DX-5189: Nightwatch not executing in pipeline #4630
I'm trying to execute the Nightwatch test on Acquia pipeline for every PR raised
I have created a custom blt command that execute the test cases of nightwatch. it is executing fine locally but it fails on the pipeline.
Detailed error output
[Tests/Toolbar Test] Test Suite
Connecting to localhost on port 9515...
Error connecting to localhost on port 9515.
[Tests/Toolbar Test] Test Suite
Connecting to localhost on port 9515...
Error connecting to localhost on port 9515.
Error: An error occurred while retrieving a new session: "session not created: This version of ChromeDriver only supports Chrome version 98"
at HttpRequest.emit (node:events:513:28)
at HttpResponse.emit (node:events:513:28)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Error: An error occurred while retrieving a new session: "session not created: This version of ChromeDriver only supports Chrome version 98"
at HttpRequest.emit (node:events:513:28)
at HttpResponse.emit (node:events:513:28)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
Activity
[-]Nightwatch not executing in pipeline[/-][+]DX-5189: Nightwatch not executing in pipeline[/+]mikemadison13 commentedon Nov 15, 2022
A couple of things, could you please update to BLT 13.x?
Also, could you confirm if you have a ci.blt.yml file in your blt directory?
jaswinsingh commentedon Nov 15, 2022
@mikemadison13 Thanks for the quick response, Yes there is
ci.blt.ymlin the blt directorymikemadison13 commentedon Nov 16, 2022
other than upgrading to blt 13.x, i'm curious if you have https://github.com/acquia/blt-drupal-test in the codebase? it does have nightwatch specific functionality.
jaswinsingh commentedon Dec 28, 2022
@mikemadison13 Yes, we were using https://github.com/acquia/blt-drupal-test package to execute the test cases, but it was failing for that too, Also we are upgrading to BLT 13.x shortly.