2017-07-26 21:45:26 +00:00
|
|
|
import Cucumber = require("cucumber");
|
|
|
|
import seleniumWebdriver = require("selenium-webdriver");
|
|
|
|
import Assert = require("assert");
|
|
|
|
|
|
|
|
Cucumber.defineSupportCode(function ({ Given, When, Then }) {
|
|
|
|
Then("I get an error {number}", function (code: number) {
|
2017-08-02 22:30:41 +00:00
|
|
|
return this.getErrorPage(code);
|
2017-07-26 21:45:26 +00:00
|
|
|
});
|
|
|
|
});
|