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

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

Open
suryakrish opened this issue Feb 28, 2025 · 0 comments

Comments

@suryakrish
Copy link

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?

@suryakrish suryakrish changed the title CodeceptUI version 1.2.2 is not working with codeceptjs version 3.7.0 or above CodeceptUI version 1.2.2 is not opening UI with codeceptjs version 3.7.0 or above Feb 28, 2025
@suryakrish suryakrish changed the title CodeceptUI version 1.2.2 is not opening UI with codeceptjs version 3.7.0 or above CodeceptUI version 1.2.2 is not opening graphical test runner with codeceptjs version 3.7.0 or above Feb 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

No branches or pull requests

1 participant