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
Provide console output if related. Use --verbose mode for more details.
$ npm run repl
> codeceptjs-sample@1.0.0 repl /home/suemura/Work/codeceptjs-sample
> codeceptjs shell
2019-01-07T03:35:57.841Z DEBUG wdio-config: wdio-sync not found, running tests asynchronous
String interactive shell for current suite...
Interactive shell started
Use JavaScript syntax to try steps in action
- Press ENTER to run the next step
- Press TAB twice to see all available commands
- Type exit + Enter to exit the interactive shell
I.amOnPage('/')
allure-js-commons: Unexpected startStep() of I am on page "/". There is no parent step
allure-js-commons: Unexpected endStep(). There are no any steps running
FAIL Cannot read property 'url' of undefined
$ npm run repl
> codeceptjs-sample@1.0.0 repl /home/suemura/Work/codeceptjs-sample
> codeceptjs shell
2019-01-08T00:35:26.900Z DEBUG wdio-config: wdio-sync not found, running tests asynchronous
String interactive shell for current suite...
Interactive shell started
Use JavaScript syntax to try steps in action
- Press ENTER to run the next step
- Press TAB twice to see all available commands
- Type exit + Enter to exit the interactive shell
I.amOnPage('/')
allure-js-commons: Unexpected startStep() of I am on page "/". There is no parent step
allure-js-commons: Unexpected endStep(). There are no any steps running
FAIL Cannot read property 'url' of undefined
I.
Any other commands (such as I.see('foobar')) also failed.
And when starting REPL without allure plugin, then browser will opened automatically, but with allure, It will not.
Activity
kobenguyent commentedon Jan 7, 2019
I guess due to this
process.env.BASE_URLYou haven‘t set it yet?
tsuemura commentedon Jan 8, 2019
Thanks for your reply!
I've removed it and tried again but failed. There is the result:
Any other commands (such as
I.see('foobar')) also failed.And when starting REPL without allure plugin, then browser will opened automatically, but with allure, It will not.
tsuemura commentedon Jan 12, 2019
Additionally, only fails when entered repl via
codeceptjs shellcommand.It works fine when using
pause()method.I think, allure plugin should be disabled from
codeceptjs shell.