Questions tagged [meteor-cucumber]
6 questions
8
votes
2 answers
How to pass variable values between steps in Cucumber Java?
I have a variable and I want to pass this variable across all the steps.
Anyone can suggest with an code snippet example please on how to pass a variable value between the steps please.
Any help will be highly appreciated.

Sayom
- 147
- 1
- 2
- 7
2
votes
1 answer
How to click all matching elements in Webdriver?
How do you click all elements that match a selector, instead of just the first one?
elems = browser.elements '.item-checkbox'
console.log elems
for elem in elems
# neither of these work
browser.click elem
elem.click()
{ state: 'success',
…

Loren
- 13,903
- 8
- 48
- 79
1
vote
1 answer
Moving to the bottom of an element with Webdriver.io
I have a page that has elements that become visible as you scroll down. I am trying to execute a test to make sure the elements are not there until the scroll is to the bottom of the elements, but I can't seem to figure out how to pass the size…

CodeChimp
- 8,016
- 5
- 41
- 79
0
votes
1 answer
Running Chimp with Meteor
Installed Chimp globally and locally for my app. Created features directory at the root of my app. Put in a feature file insertContract.feature with the following scenario.
Feature: Input contact information
As a contract admin
I want to input…

SudiB
- 223
- 2
- 13
0
votes
2 answers
Step definitions library for Meteor-cucumber/chimp
Hi I am looking for predefined (common) step definitions for Meteor-cucumber\chimp.
I used PHP's Behat (BDD cucumber framework). There is this extensions and this class. Which allows you to have a common step definitions out of the box. You don't…

Jirik
- 1,435
- 11
- 18
0
votes
1 answer
Can I reference a Scenario in another Scenario?
I have a user-signup Scenario, and then I want to use that DB state for two different action flows. Currently I'm doing:
Scenario
[copy all the whens from user-signup Scenario]
When ..
Then action A is complete
Scenario
[copy all the whens…

Loren
- 13,903
- 8
- 48
- 79