2018-03-28 22:04:59 +00:00
|
|
|
import {When} from "cucumber";
|
2017-09-02 23:25:43 +00:00
|
|
|
import seleniumWebdriver = require("selenium-webdriver");
|
|
|
|
import Assert = require("assert");
|
|
|
|
import Fs = require("fs");
|
|
|
|
import CustomWorld = require("../support/world");
|
|
|
|
|
2018-03-28 22:04:59 +00:00
|
|
|
When("I wait {int} seconds", { timeout: 10 * 1000 }, function (seconds: number) {
|
|
|
|
return this.driver.sleep(seconds * 1000);
|
|
|
|
});
|