seagull-js/seagull

View on GitHub
examples/helloworld/features/step-definitions/steps.ts

Summary

Maintainability
A
0 mins
Test Coverage
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
})