authelia/test/helpers/Logout.ts

10 lines
464 B
TypeScript
Raw Normal View History

import { WebDriver } from "selenium-webdriver";
import VerifyIsFirstFactorStage from "./assertions/VerifyIsFirstFactorStage";
import VisitPage from "./VisitPage";
2019-10-30 14:14:18 +07:00
import VerifyUrlContains from "./assertions/VerifyUrlContains";
export default async function(driver: WebDriver) {
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/#/");
await VerifyIsFirstFactorStage(driver);
}