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...
I have a problem with cucumberjs. I cannot find a way to ensure  that element with given selector is presented into DOM. I'm using  cucumberjs with Chai.  https://github.com/cucumber/cucumber-js isPresent returns object - no matter if the element...
This problem should apply to requirejs as well.  The specifics:   Protractor SystemJS loading ES6 BabelJS transpiled system modules Cucumber.js Chai, chai-as-promised   The reason I'm asking is because I have just a couple very basic cucumber tes...
Lately a colleague and I have had some disagreements on the "right" way to implement Cucumber step definitions using Protractor and Chai as Promised.  Our contention comes from a mutual lack of understanding of precisely what is going with pr...
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...
So I have written an Angular app and I want to implement end-to-end testing, so I searched the internet for a tool. I found out that Protractor and Cucumber are two popular tools that do that, but I am confused as to  what is the difference between t...
I have a Protarctor-CucumberJS framework and a suite of test scenarios. When I execute the entire suite, one script fails at an expect (ChaiJS) statement.   Scenario 1  : Passed Scenario 2  : Passed Scenario 3  : Failed (Unresolved Promise) Scenario...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.