0.1.1 • Published 12 years ago
cucumber-step-definitions v0.1.1
Cucumber Step Definitions
A collection of step definitions for use with cucumberjs and href="https://github.com/angular/protractor"protractor. These steps are highly specific to my apps. They will likely only be useful to you as a reference.
Usage
Extend a particular set of steps like so:
  // /project/features/step_definitions/form.js
  var form = require('cucumber-step-definitions').form;
  module.exports = function() {
    form.call(this);
    // you can override steps or add custom steps of your own
    //this.Given(/^I am on "([^"]*)"$/, function(arg1, callback) {
    //  driver.get(arg1 + 'some_custom_param').then(function() {
    //    callback();
    //  });
    //});
  };##World.js Checkout world_example.js