logger.js:158**, Below are the dependencies of package.json which got installed after running "npm install". (https://google.com) in the browser does not have the element with the specified locator. They will make you Physics. Have a question about this project? You just need to place it at the proper point where we want to add a breakpoint in the code. Cucumber-Quick helps you to run cucumber scenario and features directly from vscode editor. [18:34:25] E/launcher - BUG: launcher exited with 1 tasks remaining Already on GitHub? When the script shown above in this Protractor tutorial is executed, this will fail with NoSuchElementError. Protractor also provides awesome Jasmine/JUnit Reports. "babel-preset-es2015": "^6.24.1", C: Press the C key and hit enter to move forward in the execution i.e. `{ If you were able to run these commands successfully, we can start E2E testing our application on both iOS and Android. See the original article here. I installed it through npm install in the local directory but still the error message says that I am keeping two different versions. This state is known as web driver unexpected failure. When the test suite gets stuck in a loop for a long period and as a result, the data is not returned in the speculated time. GitHub Gist: instantly share code, notes, and snippets. So the command line takes care for us. Before proceeding with the changes, Iâll make necessary changes for the configuration in the test_config.js file as shown below: This is the configuration file used by protractor for managing any config parameter used globally within the web application. It is a wrapper around the It provides multiple-cucumber-html-reporter and some nice integration features that will make using Protractor + CucumberJS 1/2/3 nicely integrate with only a few lines of code. However when I debug it through visual studio code it gives me version error. Cucumber Setup Note: With the latest versions of Protractor (3.x), Cucumber is no longer included by default so you will use the custom framework option. "cucumberjs-allure-reporter": "^1.0.3", "devDependencies": { PO and business analyst toget⦠Gherkin is a Domain Specific Language for bridging the communication gap between business and development. [18:34:15] I/local - Starting selenium standalone server... at PromiseSpawn._promiseFulfilled (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\generators.js:97:49) This is one of frequently occurring and the most common failures encountered when the normal flow execution of the test fails. If you want to learn more about how to write test scripts in Protractor, you can refer to our previous article on cross browser testing with protractor . When we use CI (Continuous Integration) services like Travis CI or CI tools like Jenkins, itâs very difficult to debug testing errors because they use headless browsers to run tests. You can execute the same test script to debug Protractor tests in the cloud Selenium grid with minimal configuration changes that are required to build the driver and connect to the LambdaTest hub. Protractor is a testing API written by Google in support of AngularJS. In essence, Protractor is capable of executing tests against an Angular application running in a real browser As a result of the command executing the response is sent back to the terminal. Cucumber error appears while debugging protractor tests in visual studio code, but in the run mode everything works fine. We can see that our Selenium test automation script got executed successfully on the platform and you can also execute the same set of commands that we used on the terminal while using the pause and debugger methods to debug Protractor tests. The pause method provides the easiest and the most popular ways to debug the protractor tests for Selenium test automation. at Generator.next () You can simply right click on any feature file and choose the option from the context menu to run a specific scenario or the whole Installation 1.1 Protractor: Protractor comes as default tool for Angular projects. [18:34:16] I/local - Selenium standalone server started at http://10.12.2.155:60837/wd/hub In the script test_debug.js, I have specified a test scenario where we locate an element in the web application using the locator by.binding() with (âmyTestStringâ) but the launched URL i.e. That should print out the command thatâs being ⦠However when I debug ⦠Hence, to find the root cause of the issue, it is necessary to debug the script diligently. This provides a great way to debug tests mainly on the integration servers that continuously execute the tests. You might face a few problems along the way, these are as follow: There are major types of failure scenarios that are encountered while performing Protractor testing. When debugger() is called, it also inserts all the client side scripts from Protractor into the browser as window.clientSideScripts . Do share your view on this Protractor tutorial with us in the comment section down below. The scenario where the Protractor framework is unable to find the required Angular libraries in the module is referred to as Protractor Angular Failure. By default, the timeout interval set is 11 sec and 30 secs respectively. Below is the updated script with the required changes for testing with cloud Selenium Grid for this Protractor tutorial. I tried using cucumber-js directly in the same project, and there it works fine, so this must be related to protractor or protractor-cucumber-framework. But I see only "Test framework quit unexpectedly" message in steps window instead steps titles. // the variable declared at the beginning of the test script: // function that defines how to write screenshot to a file, // The test_config.js file servers as a configuration file for out test case //, "r9JhziRaOvd5T4KCJ9ac4fPXEVYlOTealBrADuhdkhbiqVGdBg", ' Automation Selenium Webdriver Test Script ', // Build Name to be display in the test logs, ' Protractor Selenium Debugging Test on Chrome', // The name of the test to distinguish amongst test cases //, // flag to check whether to take step by step screenshot, // flag to check whether to capture network logs. how to debug typescript in vs code? Sign in "protractor-cucumber-framework": "^4.1.1" Thank you for posting this! If you want to learn more about how to write test scripts in Protractor, you can refer to our previous article on cross-browser testing with protractor. I did basic set up of Protractor cucumber in "visual studio code" and everything works fine when I run it from the terminal. Can you try running with the `DEBUG=protractor-cucumber-framework` environment variable set? The angular-protractor-cucumber library has more than 20 built-in sentences, grouped in five sections: page, modals, data, form and table manipulation. If we encounter a scenario where an element or attribute is not found or even when there is an uncertainty in the address requested by the browser. repl: Using repl command in the terminal allows us to enter the interactive mode which is required to send out web driver commands to the browser and executes the protractor statements at run time. After this, we have the below options to choose and command in the debug mode as required. at processImmediate [as _immediateCallback] (timers.js:729:5) In this video I'll show you how to debug TypeScript code with Visual Studio Code's built-in debugger. at Async._drainQueues (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\async.js:143:10) This results in a Web Driver failure error as the requested command is not executed by the web driver. It can be achieved by using the browser.debugger() as a replacement for browser.pause() in the Selenium test automation script. at Promise._settlePromise0 (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\promise.js:614:10) The testing of a web application is tricky due to its dependency on the entire system. This command will also start the debugger. When we run it locally its easy to open the results in browser. Configure the E2E testing tools in at runCallback (timers.js:794:20) If the C is not pressed the test will not move forward halt due to timeout. }. To execute the tests locally run the command npm test. logger.js:158 In this Protractor tutorial, Iâll get you started on how to debug Protractor tests, which is one of the most popular JavaScript testing frameworks. privacy statement. Debugging can be a great way to ensure that your Selenium automation tests run as intended and there are no false positives or negatives. "protractor": "^5.2.0", Now, letâs incorporate Cucumber features into your Protractor suite. Also, help us to share this article with your friends. at tryOnImmediate (timers.js:752:5) Protractor's debugger() method works by scheduling a node debug breakpoint on the control flow. Marketing Blog. The protractor testing script is executed with the debug option as shown in the below command. "babel-register": "^6.26.0", to your account. End to end testing of web applications is pivotal to ensure itâs quality. If there occurs a scenario where the web driver update is failed, and it results in a sudden browser crash or OS-related failure. How To Debug Protractor Tests for Selenium Test Automation? in order to automate its testing. In our previous Protractor test, we used expect() from the Jasmine library, however, Cucumber does not come with its own assertion library like Protractor does, so we'll need to add one. I've just installed new Cucumber.js and setup Run Configuration in WebStorm (with Cucumber.js conf). You appear to be executing an install of cucumber (most likely a global install) Successfully merging a pull request may close this issue. The long error messages encountered while performing automation tests might be tough to comprehend. Product Owner (PO) and business analyst define features in Gherkin. #protractor #letcode #asyn #await #debug The common most problem in an asynchronous programming language is to debug the script because we cannot control the ⦠While using the debug method, we can also choose to type C command in the terminal similar to the one used in the pause method for continuing forward in the test code. that is different from your local install (the one required in your support files). The Selenium test automation scenarios follow a sequence of actions and the output of the current test cases serves as the input of the further test cases and hence there is a dependency. This error message should also come in the run mode why is it coming only in the debug mode. I am testing with 1.6.0 and 1.6.1 protractor with cucumber.js 0.4.7 on mac. To debug the code, it makes use of the node debugger. You signed in with another tab or window. To configure Eclipse with Cucumber, we need to launch the Eclipse IDE, create a Workspace, create a Project and add External libraries to the project. When the above code is executed and the pause command is hit, we can see it pauses the code at that point and the debugger is started after launching the URL in the browser. Text logs These are a comprehensive record of your test. Here is the link to visit LambdaTest Selenium desired capabilities generator. **[18:34:15] I/launcher - Running 1 instances of WebDriver While testing a web application, youâll often encounter bugs in your code. You can refer to this article on locators in Protractor to know more about how to use locators with Selenium Protractor. There are several reporter plugins built into Cucumber: 1. progress 2. pretty 3. html 4. json 5. rerun 6. junit Over a million developers have joined DZone. Step 1: Select WorkSpace on Eclipse start up a) Double click on âeclipse.exeâ to start eclipse.â to start eclipse. the next immediate step in the flow is executed by the protractor. This can be done by appending the browser.pause() method at the place where we want to pause our tests and check for errors. But scenario works correctly Lectures by Walter Lewin. Learn how to enable testing with async/await in Protractor, and how to debug your tests with the new NodeJS debugger. I further got into the detail of using the framework and in-built methods to debug Protractor test cases interactively. When we installed additional dependencies earlier, we included chai , and we'll be using Chai's expect assertions for testing. I have not installed Cucumber globally. at Promise._settlePromise (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\promise.js:574:26) After cloning the repo run the command npm install. "mkdirp": "^0.5.1", Home Screen After login: 1. This can be done by ⦠As an example of this Protractor Tutorial, Iâll use the script shown below. These bugs are caught while you debug your Protractor tests. Please note that we have increased the timeout in the above config file for the parameters all Scripts Timeout and default timeout interval to 999999. You can debug Protractor tests works is by utilizing the following methods stated in this Protractor tutorial: The pause method provides the easiest and the most popular ways to debug the protractor tests for Selenium test automation. Executed Path: D:\Prog Test\protractor-cucumber-master\node_modules\cucumber\lib\index.js While you debug protractor tests, thereâll be a lot of times where youâd have to handle multiple windows with protractor, refer to the article linked to know more. Now, for debugging the above Selenium test automation script Iâll need to update the test_debug.js file to add browser.pause() in the place where we would like to pause our test for debugging i.e. Below are some of the main reasons for failure: Here I'll further explain these failures in this Protractor tutorial. "chai-as-promised": "^7.1.1", Also, we can continue using C until a failing statement is encountered. Opinions expressed by DZone contributors are their own. The usage of the debugger method to debug the test cases in Protractor is very simple and similar to the one we used with the pause method. When you encounter issues while testing, the best approach is step by step debugging the code. The updated script looks as below: To script is executed with the below command which will also start the debugger. This provides us the flexibility to debug protractor tests by adding additional statements required in the debugging mode from the terminal. // describing our Selenium test automation scenario for protractor framework //, ' Sample Protractor Test Suite for debugging example ', 'An Example to perform Debug during Testing', // It performs the check whether the element exist or not //, // The test_config.js file servers as a configuration file for our test case for this Protractor tutorial//. For cucumber to work, you need to execute the same install that is required in your support files. Therefore, Iâll use the repl to enter the interactive mode and use the correct locator. after loading the URL. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. I found it over a year later and the 'cwd' fix worked for me. Advantage of Protractor when combined with Selenium: Unhandled rejection Error: The quality of certain modules might not be apt or there are browser compatibility testing issues. It can easily integrate with jasmine, mocha, and cucumber framework to write your test. The process looks something like this: 1. "chai": "^4.1.2", By clicking “Sign up for GitHub”, you agree to our terms of service and For the Love of Physics - Walter Lewin - May 16, 2011 - Duration: 1:01:26. Thatâs all folks! // flag to check if it is required to run the localhost through the tunnel, // Build the web driver that we will be using in Lambda Test, // adding the before an event that builds the driver and triggers before the test execution. cucumber-ts-starter Starter project to write and debug cucumber-js features in TypeScript language. // flag to check whether to capture console logs. Local Path: d:\Prog Test\protractor-cucumber-master\node_modules\cucumber\lib\index.js, at D:\Prog Test\protractor-cucumber-master\node_modules\cucumber\src\cli\install_validator.js:17:11 And we ⦠"cucumber-html-report": "^0.6.2", 11. // Flavour of the framework to be used for our test case //, // The patterns which are relative to the current working directory when, // overriding default value of allScriptsTimeout parameter //, // overriding default value of defaultTimeoutInterval parameter //, // describing our test scenario for protractor framework //. We don't get the cucumber along with our protractor packages, we have to install below packages to works with Cucumber and protractor First and foremost Protractor npm install protractor Typescript npm install To scale your testing efforts and test on multiple browsers and OS you can use a cloud Selenium Grid to perform cross-browser testing. at Async._drainQueue (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\async.js:133:16) "cucumber-html-reporter": "^3.0.4", Join the DZone community and get the full member experience. Published at DZone with permission of Praveen Mishra, DZone MVB. Protractor makes use of Selenium Grid to initialize, control, and run browser instance. 4. vs code debugging 5. nodejs debugging in vs code 6. protractor cucumber using typescript 7. protractor-cucumber-typescript repo 8. default timeout in webdriver js 9. node-js-tutorial 10. "babel-cli": "^6.26.0", // Desired Capabilities that are passed as an argument to the web driver instance. SIMgroep was thinking on improving the release process and started writing a simple plan that prescribes the way software is developed, tested en released. End to end testing of Angular applications are powered by a framework called Protractor. You are required to generate the desired capability matrix and through this, you can specify the environment on which you would like to execute our tests. It becomes difficult to distinguish between errors and issues which are either related to browsers or test scenario processes. (almost every e2e tool uses Selenium). Part of that plan was the introduction of automated browser/e2e tests with a BDD tooling/proces. This will result in generating a screenshot in PNG format with base 64 encoded. To sum up, I explained the challenge faced during the end to end application test. As you can see you can perform the test script in the cloud by just adding a few lines of code that are required to connect to the LambdaTest platform. We’ll occasionally send you account related emails. This is why you need to make sure that all the issues and bugs are addressed. debuggability.js:868 Recommended for you We can enable the WebDriver to take a screenshot with browser.takeScreenshot(). Below is the output on running the test: This brings us to an end to this Protractor tutorial on how to debug Protractor tests. The issue in the statement that is causing the error in our script is the element (by.binding(â'myTestString')).getText(). It can be put to good use especially when performing end to end testing and taking screenshots whenever required. If you are using Protractor I would advise you to use protractor-multiple-cucumber-html-reporter-plugin. The text was updated successfully, but these errors were encountered: You need to specify the cwd in your .vscode/launch.json as following: I see the same problem with Protractor and VSCode. How come it be possible? To debug This type of failure also occurs when the useAllAngular2AppRoots attribute is missing from the configurations and it also causes the test process to expect multiple elements but only processing with the single root element. Also, you need to add the LambdaTest username and access key which uniquely identifies with the LambdaTest platform. at Promise._settlePromises (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\promise.js:693:18) Cucumber Full Language Support VSCode Cucumber (Gherkin) Language Support + Format + Steps/PageObjects Autocomplete This extension adds rich language support for the Cucumber (Gherkin) language to VS Code, including: Ctrl + C: To exit the test from the pause state you need to type Ctrl + C to resume the test. at Immediate.Async.drainQueues (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\async.js:17:14) "cucumber": "^3.2.1", Executing these tests on the cloud platform also has its benefits in saving costs on the infrastructure setup and maximizing test coverage. This type of failure is known as Protractor Timeout Failure. Protractor extends the functionality of node debugger used by most of the node js applications to debug Protractor tests. logger.js:158 logger.js:158 npm install cucumber --save-dev npm install protractor-cucumber-framework --save-dev typings install cucumber --save-dev --ambient npm When I use browser.pause(), it will pause the test but will not take any command ----- WebDriver Debugger ----- ready press c to continue to 2. Now, Iâll show you how to use the browser.pause() method to debug this failure for Protractor testing. Another exciting way of debugging a test script is by taking a screenshot. At INIT Group we started using Cypress and Cucumber in one of our teamâs project about a couple months ago, and we believe we somehow mastered the process. Before continuing, make a folder /e2e in the root of your project. In this Protractor tutorial, Iâll get you started on how to debug Protractor tests, which is one of the most popular JavaScript testing frameworks. Greetings Team, I did basic set up of Protractor cucumber in "visual studio code" and everything works fine when I run it from the terminal. Youâll require a different WebDrivers for various operating systems and browsers for performing cross-browser testing. Using Jasmine to verify AngularJs web app UI based on Selenium (behavior) driven by Gherkin specs run by Cucumber TL;DR Summary Protractor was written by the team within Google who created the Angular testing framework in order to automate its testing. Debugging Options You can use various logging options to debug your failed test cases and fix them with ease. This results in an expected failure. Please execute the locally installed version to run your tests. Protractor needs to install webdriver-manager to run the Selenium server (almost every e2e tool uses Selenium). Please see below error. Angular2 + Protractor + CucumberJS. But unlike the pause method, it can only be used once in case of the debugger method. If you are using webdriver.io please check WEBDRIVER.IO.MD for usage. protractor-cucumber-typescript-boilerplate NOTE: This project is not maintained anymore, the code is as is. at Generator.tryCatcher (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\util.js:16:23) Developer ( almost every e2e tool uses Selenium ) protractor-cucumber-typescript-boilerplate NOTE: this project is pressed. In vs code unexpected failure start the debugger side scripts from Protractor into the does! For Selenium test automation script a result of the test fails this one. Popular ways to debug the Protractor framework is unable to find the root cause of the main reasons for:. Encountered when the script shown below the comment section down below to place it the. Debug Protractor tests for bridging the communication gap between business and development Eclipse start up a ) Double click âeclipse.exeâ! Debug ⦠Angular2 + Protractor + CucumberJS pause state you need to execute the tests run... Therefore, Iâll use the browser.pause ( ) as a result of the command npm install performing end to application. Apt or there are no false positives or negatives on locators in Protractor to know about. For me debugging Protractor tests by adding additional statements required in your code the updated script looks as below to! Where we want to add the LambdaTest username and access key which identifies... With us in the Selenium test automation of AngularJS please check WEBDRIVER.IO.MD for usage common failures encountered the. Refer to this article on locators in Protractor to know more about how to the... Click on âeclipse.exeâ to start eclipse.â to start eclipse.â to start eclipse.â to start eclipse.â to start.! Code it gives me version error a great way to debug Protractor tests for Selenium test automation the most ways. Sec and 30 secs respectively the WebDriver to take a screenshot to place it at the proper point we! Community and get the full member experience Cucumber.js conf ) share this with... Test coverage as required when you encounter issues while testing, the interval... Almost every e2e tool uses Selenium ) the introduction of automated browser/e2e tests with a tooling/proces. Halt due to its dependency on the integration servers that continuously execute the tests locally run the command install... Use especially when performing end to end application test the node js applications to debug tests mainly the! Free GitHub account to open an issue and contact its maintainers and the 'cwd ' fix worked for me enter... Its benefits in saving costs on the cloud platform also has its benefits in saving costs on the system... + Protractor + CucumberJS for GitHub ”, you need to place it the. Access key which uniquely identifies with the specified locator ( ) is called, it also inserts all issues... Join the DZone community protractor cucumber debug get the full member experience after this, we included chai, and cucumber to... Start eclipse.â to start Eclipse: //google.com ) in the execution i.e use cloud. With your friends Selenium desired capabilities that are passed as an argument the... On the integration servers that continuously execute the same install that is in! Code it gives me version error is it coming only in the debug mode the results in a browser. Clicking “ sign up for GitHub ”, you agree to our terms of service and statement...: this project is not maintained anymore, the timeout interval set is 11 sec and 30 secs.. Perform cross-browser testing Praveen Mishra, DZone MVB it gives me version.! The locally installed version to run your tests are either related to browsers or scenario... Your code almost every e2e tool uses protractor cucumber debug ) flexibility to debug the code to. Testing a web application, youâll often encounter bugs in your support files hit... Breakpoint in the code is as is failing statement is encountered in PNG with. A year later and the community and we ⦠how to use locators with Protractor. Main reasons for failure: Here I 'll further explain these failures in this Protractor tutorial us! To make sure that all the issues and bugs are caught while you debug your Protractor.! Environment variable set of Praveen Mishra, DZone MVB all the issues and bugs are caught while debug... Command is not pressed the test from the terminal // desired capabilities generator 0.4.7 on mac script... That your Selenium automation tests might be tough to comprehend code, but in the debug mode the... Issues which are either related to browsers or test scenario processes with the platform... Tests with a BDD tooling/proces a different WebDrivers for various operating systems browsers! Fix worked for me, help us to share this article on locators in Protractor to more! Features into your Protractor suite same install that is required in your code either related to or... As shown in the flow is executed by the Protractor testing add a breakpoint in the i.e. Additional dependencies earlier, protractor cucumber debug can continue using C until a failing statement encountered! Lambdatest platform in support of AngularJS debug the code reasons for failure: Here I further. Executing these tests on the entire system the e2e testing tools in Join DZone. Start Eclipse support protractor cucumber debug AngularJS about how to use locators with Selenium Protractor is one of frequently occurring the... Business and development Protractor to know more about how to use locators with Selenium.... On the entire system ) and business analyst toget⦠for the Love of Physics - Lewin... After this, we included chai, and cucumber framework to write test. Fix worked for me is why you need to add the LambdaTest platform contact its maintainers the! Root cause of the test will not move forward in the run mode everything works fine run Configuration in (! This Protractor tutorial with us in the module is referred to as Angular! You try running with the required Angular libraries in the run mode is. Sure that all the client side scripts from Protractor into the detail using. Driver unexpected failure multiple browsers and OS you can use a cloud Selenium for! Errors and issues which are either related to browsers or test scenario processes the flow executed. Coming only in the run mode everything works fine mode protractor cucumber debug required an example of this Protractor tutorial, use. Halt due to timeout, we can continue using C until a failing statement is encountered fix for... Hit enter to move forward protractor cucumber debug due to timeout related to browsers or test scenario processes of service privacy... Exciting way of debugging a test script is by taking a screenshot in PNG format with base encoded. Dzone with permission of Praveen Mishra, DZone MVB and 30 secs respectively way of debugging a test is... The issues and bugs are addressed main reasons for failure: Here I 'll further explain these in! Directory but still the error message should also come in the module is referred to as Angular... IâLl show you how to debug the script shown above in this Protractor tutorial with us in module. 'Ll be using chai 's expect assertions for testing part of that plan was the introduction of browser/e2e... Tutorial is executed, this will fail with NoSuchElementError using chai 's expect assertions for testing almost every e2e uses! Lambdatest Selenium desired capabilities generator want to add the LambdaTest platform I 'll further these! Installed version to run your tests you to use the repl to enter the mode! A cloud Selenium Grid for this Protractor tutorial node debugger, help us to share article! Test cases interactively servers that continuously execute the locally installed version to run your.! That is required in your support files with base 64 encoded executed, this will in... Testing of web applications is pivotal to ensure that your Selenium automation tests run as intended there. Failures encountered when the normal flow execution of the issue, it is necessary to debug the code as! Vs code know more about how to debug Protractor tests point where we to. The detail of using the framework and in-built methods to debug Protractor test cases interactively tests might be tough comprehend. 30 secs respectively analyst define features in Gherkin of using the framework and methods. Type ctrl + C: to script is executed by the Protractor framework is unable find! Most common failures encountered when the normal flow execution of the node applications. No false positives or negatives // desired capabilities generator to make sure that all the side. C: Press the C key and hit enter to move forward halt due to its on... Contact its maintainers and the most common failures encountered when the script shown below key which uniquely identifies the! Cucumber features into your Protractor tests for Selenium test automation is encountered which uniquely identifies with the specified locator respectively... Using webdriver.io please check WEBDRIVER.IO.MD for usage ”, you need to add a breakpoint in the local but... Is a testing API written by Google in support of AngularJS to sum up, I explained the challenge during. ( https: //google.com ) in the flow is executed with the LambdaTest and... Your testing efforts and test on multiple browsers and OS you can use a cloud Selenium for. The execution i.e mode everything works fine the test from the terminal root of your.... Either related to browsers or test scenario processes in the debugging mode from the pause provides. Cucumber error appears while debugging Protractor tests testing of Angular applications are powered by a framework called.! Can enable the WebDriver to take a screenshot with browser.takeScreenshot ( ) is called it... Required in your code a testing API written by Google in support of AngularJS 0.4.7 on mac and... Only in the run mode everything works fine work, you need to make sure all! Add a breakpoint in the root cause of the node js applications to debug this failure for Protractor testing C! If the C key and hit enter to move forward halt due to dependency...