mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
8 lines
283 B
TypeScript
8 lines
283 B
TypeScript
|
import Cucumber = require("cucumber");
|
||
|
import seleniumWebdriver = require("selenium-webdriver");
|
||
|
|
||
|
Cucumber.defineSupportCode(function ({ Given, When, Then }) {
|
||
|
When("I sleep for {number} seconds", function (seconds: number) {
|
||
|
return this.driver.sleep(seconds * 1000);
|
||
|
});
|
||
|
});
|