2019-01-31 04:44:03 +07:00
|
|
|
import { WebDriver } from "selenium-webdriver";
|
2019-04-25 04:52:08 +07:00
|
|
|
import VerifyIsFirstFactorStage from "./assertions/VerifyIsFirstFactorStage";
|
2019-03-04 05:51:52 +07:00
|
|
|
import VisitPage from "./VisitPage";
|
2019-10-30 14:14:18 +07:00
|
|
|
import VerifyUrlContains from "./assertions/VerifyUrlContains";
|
2019-01-31 04:44:03 +07:00
|
|
|
|
|
|
|
export default async function(driver: WebDriver) {
|
2019-04-25 04:52:08 +07:00
|
|
|
await VisitPage(driver, "https://login.example.com:8080/#/logout");
|
2019-10-30 14:14:18 +07:00
|
|
|
await VerifyUrlContains(driver, "https://login.example.com:8080/#/");
|
2019-04-25 04:52:08 +07:00
|
|
|
await VerifyIsFirstFactorStage(driver);
|
2019-01-31 04:44:03 +07:00
|
|
|
}
|