examples/helloworld/features/step-definitions/steps.ts
import { expect } from 'chai'
import { Given, Then } from 'cucumber'
Given('I am on the cucumber.js GitHub repository', function(done) {
const cfurl = process.env.CFURL || 'http://localhost:8080/'
this.browser.visit(cfurl, done)
})
Then('I should see a Usage section', function() {
expect(this.browser.html()).to.contain('hello html world')
return true
})