Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 632 Bytes

step_helpers.md

File metadata and controls

29 lines (22 loc) · 632 Bytes

Step Helpers

Table of contents

###Freeze

Causes process to wait for any key press from the user before proceeding. @Freeze() returns a promise that is resolved once the user presses a key.

Can be used from within a step definition with

@Freeze().then -> ..........

Or it can be used via a feature file with

When I Freeze

###Pending

Allows you to mark a step as pending and not currently implemented. Simply call @Pending() from within a step.

this.When(/^I execute a pending step$/, function() {
  this.Pending();
});