Skip to content
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

DX-5189: Nightwatch not executing in pipeline #4630

Open
jaswinsingh opened this issue Nov 15, 2022 · 4 comments
Open

DX-5189: Nightwatch not executing in pipeline #4630

jaswinsingh opened this issue Nov 15, 2022 · 4 comments
Labels
Awaiting response Maintainer needs more info Support A support request

Comments

@jaswinsingh
Copy link

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)

System information

  • BLT version: 12.8.2.0
@jaswinsingh jaswinsingh added the Support A support request label Nov 15, 2022
@github-actions github-actions bot changed the title Nightwatch not executing in pipeline DX-5189: Nightwatch not executing in pipeline Nov 15, 2022
@mikemadison13
Copy link
Contributor

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
Copy link
Author

@mikemadison13 Thanks for the quick response, Yes there is ci.blt.yml in the blt directory

@mikemadison13
Copy link
Contributor

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.

@mikemadison13 mikemadison13 added the Awaiting response Maintainer needs more info label Nov 16, 2022
@jaswinsingh
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting response Maintainer needs more info Support A support request
Projects
None yet
Development

No branches or pull requests

2 participants