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
{{ message }}
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
I have used protractor cucumber framework. In step definition file I have a browser.pause() which seems to fail at command line execution. Please find zip of protractor config and cucumber feature & step definition file attached.
[19:23:49] I/protractor - Starting WebDriver debugger in a child process. Pause is still beta, please report issues at github.com/angular/protractor
[19:23:49] I/protractor -
[19:23:49] I/protractor - press c to continue to the next webdriver command
[19:23:49] I/protractor - press ^D to detach debugger and resume code execution
[19:23:49] I/protractor -
[19:23:50] I/launcher - 0 instance(s) of WebDriver still running
[19:23:50] I/launcher - chrome #1 passed
When I look at your code I think you are missing 2 things:
In your step file you don't have a callback / return a promise. That is why the tests succeed before your are doing anything, see here for the step implementation
If you want to use the browser.pause(); you should place it within a step, not outside the step.
Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)
Hi there!
I have used protractor cucumber framework. In step definition file I have a browser.pause() which seems to fail at command line execution. Please find zip of protractor config and cucumber feature & step definition file attached.
This is the error that comes up:
2 scenarios (2 passed)
8 steps (8 passed)
0m00.016s
[19:23:49] I/protractor -
[19:23:49] I/protractor - Encountered browser.pause(). Attaching debugger...
[19:23:49] I/protractor -
[19:23:49] I/protractor - ------- WebDriver Debugger -------
[19:23:49] I/protractor - Starting WebDriver debugger in a child process. Pause is still beta, please report issues at github.com/angular/protractor
[19:23:49] I/protractor -
[19:23:49] I/protractor - press c to continue to the next webdriver command
[19:23:49] I/protractor - press ^D to detach debugger and resume code execution
[19:23:49] I/protractor -
[19:23:50] I/launcher - 0 instance(s) of WebDriver still running
[19:23:50] I/launcher - chrome #1 passed
featuretest.zip
The text was updated successfully, but these errors were encountered: