authelia/test/features/step_definitions/regulation.ts

10 lines
332 B
TypeScript
Raw Normal View History

2018-03-29 05:04:59 +07:00
import {When} from "cucumber";
import seleniumWebdriver = require("selenium-webdriver");
import Assert = require("assert");
import Fs = require("fs");
import CustomWorld = require("../support/world");
2018-03-29 05:04:59 +07:00
When("I wait {int} seconds", { timeout: 10 * 1000 }, function (seconds: number) {
return this.driver.sleep(seconds * 1000);
});