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 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...
with [email protected], I could run tests that needed transpiling like this  cucumberjs --compiler js:babel-core/register   but that doesn't work with [email protected]  node_modules/.bin/cucumber-js --help   doesn't list the --compiler option anymore  it...
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...
Benjamins-MacBook-Pro:Features Ben$ cucumber.js addItem.feature /Users/Ben/WhatWeGrow.Web/public/Features/addItem.step.js:4 import * as a from "grocery-list"; ^^^^^^  SyntaxError: Unexpected reserved word     at exports.runInThisContext (vm.j...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.