Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

DX-5189: Nightwatch not executing in pipeline #4630

Open

Description

@jaswinsingh

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

Activity

  1. added
    Support
    on Nov 15, 2022
  2. changed the title [-]Nightwatch not executing in pipeline[/-] [+]DX-5189: Nightwatch not executing in pipeline[/+] on Nov 15, 2022
  3. mikemadison13 commented on Nov 15, 2022

    @mikemadison13
    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?

  4. jaswinsingh commented on Nov 15, 2022

    @jaswinsingh
    Author

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

  5. mikemadison13 commented on Nov 16, 2022

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

  6. added
    Awaiting response
    on Nov 16, 2022
  7. jaswinsingh commented on Dec 28, 2022

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting responseSupport

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions