Files: d66ba086e84546ccf6c93c61e85bd5ed4601a14e / features / step_definitions / steps.js
314 bytesRaw
1 | const Url = require('url') |
2 | |
3 | const config = require('app/config') |
4 | |
5 | module.exports = function () { |
6 | this.Given(/^I am a user$/, function () { |
7 | |
8 | }) |
9 | |
10 | this.When(/^I open a page$/, function (cb) { |
11 | this.browser.visit('/', cb) |
12 | }) |
13 | |
14 | this.Then(/^it works$/, function () { |
15 | this.browser.assert.success() |
16 | }) |
17 | } |
18 |
Built with git-ssb-web