These are chat archives for mojotech/pioneer

4th
Oct 2014
Jarid Margolin
@jaridmargolin
Oct 04 2014 00:31
Calling Steps from Step Definitions...
Jarid Margolin
@jaridmargolin
Oct 04 2014 00:36
@samccone - is this possible ^ ?
Taylor Gautier
@tsgautier
Oct 04 2014 01:43
@jaridmargolin you don't want to do this. I think @samccone knows better than to support this feature. It is an anti-pattern. Use widgets as your unit of re-usability.
Jarid Margolin
@jaridmargolin
Oct 04 2014 01:45
These steps are not specific to UI but to user state
Given I am a professional visiting the chat page
And I already have steps for... Given I am a professional and Given I am visiting the chat page
Jarid Margolin
@jaridmargolin
Oct 04 2014 01:51
Would it be preferred to have Given I am a professional And I am visiting the chat page?
Sam Saccone
@samccone
Oct 04 2014 15:49
@jaridmargolin so you should not call “Steps” from steps
however you should abstract the functionality into a method
and just call the method
steps != programming
Jarid Margolin
@jaridmargolin
Oct 04 2014 22:35
:thumbsup: thanks @samccone / @tsgautier
Sam Saccone
@samccone
Oct 04 2014 22:43
np np