Reputation: 915
I'm new to Protractor Cucumber, I have created the below scenario and execute the comment cucumber.js. But once I given the comment cucumber.js in command prompt the cucumber.js file (located in: "c:\user....\AppData\roaming\npm\cucumber.js") file got open in my notepad.
...\features\text.feature
Feature: To test the google page
Scenario: to perform search in google page
Given I visit google home page
When I enter keyword
Then I should see the results
Could any one help to execute the feature file to get the step definition skeleton.
Upvotes: 0
Views: 408
Reputation: 2375
Have you read this. It's the framework you need to use CucumberJS and Protractor together.
Im the past I've created a simple protractor-cucumber-typescript-boilerplate to set up a protractor-cucumber testproject. Maybe it can help you going in the right direction.
Hope it helps
Upvotes: 0