![]() ![]() With IntelliJ IDEA, you can jump between a file and the related test file or from a test result in the Test Runner Tab to the test. View and analyze messages from the server in the tab of the Run tool window. Select the Protractor run/debug configuration from the list on the main toolbar and click to the right of the list. For details, see the Protractor official website. Start the Selenium Server manually or configure it to start automatically in. This can be a specific test or suite, an entire test file, or a folder with test files. If you followed the standard installation, IntelliJ IDEA detects all these paths and displays them in the corresponding fields. Specify the location of the protractor package and the path to the configuration file. You can also choose another configured local or remote interpreter or click and configure a new one. In most cases, IntelliJ IDEA detects the project default interpreter and fills in the field itself. If you choose the Project alias, IntelliJ IDEA will automatically use the project default interpreter from the Node interpreter field on the Node.js page. The Run/Debug Configuration: Protractor dialog opens.Īlternatively, select a test file in the Project tool window and select Create from the context menu. Open the Run/Debug Configuration dialog ( Run | Edit Configurations on the main menu), click in the left-hand pane, and select Protractor from the list. Protractor tests are launched only through a run/debug configuration. See also Getting Started on the Protractor official website. To download the necessary binaries, type webdriver-manager update. In the embedded Terminal ( Alt+F12), type: You can install Protractor locally, in your project, or globally. Make sure the JavaScript and TypeScript and Angular and AngularJS required plugins are enabled on the Settings | Plugins page, tab Installed, see Managing plugins for details. Before you startĭebugging of Angular applications is only supported with Node.js version 16 and earlier. You can see the test results in a treeview and easily navigate to the test source from there. IntelliJ IDEA integrates with Protractor so you can run and debug your tests from inside the IDE. Protractor executes tests against your application running in a real browser, which ensures correctness and trustworthiness of test results. Protractor is a test framework for Angular and AngularJS applications. ![]()
0 Comments
Leave a Reply. |