I'm new to cucumberjs and just trying out my first attempt at running a feature. I've built the feature that is on the cucumber-js github page. I get this error when trying to run it:     Benjamins-MBP:Features Ben$ cucumber.js example.featur...
I am writing a feature which deals with adding multiple items to shopping cart like a typical e-commerce application.  It is something like this -   Scenario: Promotion is applied     Given I select "Bacon" worth "$1"     Given I sele...
I have this scenario in Cucumber:  Scenario Outline: Protractor and Cucumber Test InValid      Given I have already......     When I fill the <number>     ....       Examples: | number|... | 3 |... |4  |...   And I have this stepdefinition in a...
I am trying to dealing with multiple browser instances in a single test.. once the action is done in one browser instance.. my script will open the new browser instance and for ignoresynchronization i wrote a one function but it is not working and ev...
Using the protractor-cucumber-framework, I'm trying to click a button a hundred times in one When-step. However, doing this would result in a timeout with the default 5000ms timeout value. I'd rather not change this default using:  var config...
I am trying to check that an element is present in an angular website. I am using protractor 5.4.0.  In the header of the my_steps.js file I have this:  global.expect = require('chai').expect var chai = require('chai'); var chaiAsProm...
I m trying to learn a bit more cucumberjs with webdriverIO and I m having some troubles while launching my tests.  Actually, I want to cover this simple feature :  Feature: Example Feature   In order to become productive   As a test automation engine...
How can I check if checkbox is checked with Protractor, CucumberJS and Chai ?  var el = 'myCheckbox';  this.expect(element(by.model(el)).to.have.prop("checked", true));...
As the title says, how can I find the result of a step in the AfterStep hook of cucumber.js?...
Other versions of cucumber, it is possible to dump a list of all steps.  However this is not supported in javascript.  For example:  cucumber -f usage --dry-run   If you can get access to the World object or Cucumber, I think there might be a way to...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.