<NME> cucumber2Steps.js
<BEF> var path = require('path');
var chai = require('chai');
var chaiAsPromised = require('chai-as-promised');
chai.use(chaiAsPromised);
var expect = chai.expect;
var {defineSupportCode} = require(path.join(__dirname, '..', '..', '..', 'lib', 'cucumberLoader')).load();

defineSupportCode(({Given, Then, When}) => {
  Given(/^I go on(?: the website)? "([^"]*)"$/, function(url) {
    return browser.get(url);
  });
  });

  When(/an uncaught exception is thrown/, async function() {
    await element(by.css('[nuthin-here]'))
      .getText();
  });
});

<MSG> [#92] handle hidden steps for cucumber 3

<DFF> @@ -3,9 +3,18 @@ var chai = require('chai');
 var chaiAsPromised = require('chai-as-promised');
 chai.use(chaiAsPromised);
 var expect = chai.expect;
-var {defineSupportCode} = require(path.join(__dirname, '..', '..', '..', 'lib', 'cucumberLoader')).load();
+var {defineSupportCode} = require(path.join(
+  __dirname,
+  '..',
+  '..',
+  '..',
+  'lib',
+  'cucumberLoader'
+)).load();
+
+defineSupportCode(({After, Given, Then, When}) => {
+  After((scenario, done) => done());
 
-defineSupportCode(({Given, Then, When}) => {
   Given(/^I go on(?: the website)? "([^"]*)"$/, function(url) {
     return browser.get(url);
   });

[#92] handle hidden steps for cucumber 3