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

REPL interface exits on error or failed expect assertion. #3469

Closed
garg3133 opened this issue Nov 8, 2022 · 1 comment · Fixed by #3489
Closed

REPL interface exits on error or failed expect assertion. #3469

garg3133 opened this issue Nov 8, 2022 · 1 comment · Fixed by #3489
Assignees
Labels

Comments

@garg3133
Copy link
Member

garg3133 commented Nov 8, 2022

Description of the bug/issue

While using .debug() command, if we type a Nightwatch command in the REPL interface with say, wrong number of arguments or anything that results in error, the webdriver server closes and no commands can be executed after that in the REPL interface.

Same thing happens if we write a failing expect assertion in the REPL interface, upon failure the webdriver server closes and no commands/assertions can be executed after that in the REPL interface.

Steps to reproduce

Run any test with .debug() command and then execute browser.click(), or browser.expect.elements('hello').count.equal(1).

Sample test

No response

Command to run

No response

Verbose Output

No response

Nightwatch Configuration

No response

Nightwatch.js Version

2.4.1

Node Version

No response

Browser

No response

Operating System

No response

Additional Information

No response

@AutomatedTester
Copy link
Member

@prudhvi22 can you add this to your queue and ask @garg3133 for advice on where and what needs doing.

prudhvi22 added a commit to prudhvi22/nightwatch that referenced this issue Nov 17, 2022
@gravityvi gravityvi added the bug label Mar 15, 2023
swrdfish added a commit that referenced this issue May 16, 2023
Manually apply commit: 25528ae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants