Skip to content

CodeceptUI version 1.2.2 is not opening graphical test runner with codeceptjs version 3.7.0 or above #408

Open
@suryakrish

Description

@suryakrish

What are you trying to achieve?

Opening CodeceptUI or graphical test runner on browser via npm run codeceptjs:ui command on terminal

What do you get instead?

# the error below
`Cannot find module '../../node_modules/codeceptjs/lib/scenario.js'`

I am using the latest version of "@codeceptjs/ui": "1.2.2" , but the command "npm run codeceptjs:ui" is failing with an error as below with "codeceptjs": "3.7.0" or the latest (as of now 3.7.2).

With few research, I found out that the CodeceptUI is working until CodeceptJS 3.6.10 and failing with this error due to @codeceptjs/ui/lib/api/new-test.js is referring the non existing module scenario.js from codeceptjs since 3.7.0.

System details
  • CodeceptJS version: 3.7.0 (or above, the latest: 3.7.2 at that time of raising this issue)
  • CodeceptJS/UI version: 1.2.2 (the latest at that time of raising this issue)
  • NodeJS Version: 20.11.0
  • Operating System: Mac OS

Could you please check this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions