authelia/test/helpers/Logout.ts
2019-10-30 09:29:43 +01:00

10 lines
464 B
TypeScript

import { WebDriver } from "selenium-webdriver";
import VerifyIsFirstFactorStage from "./assertions/VerifyIsFirstFactorStage";
import VisitPage from "./VisitPage";
import VerifyUrlContains from "./assertions/VerifyUrlContains";
export default async function(driver: WebDriver) {
await VisitPage(driver, "https://login.example.com:8080/#/logout");
await VerifyUrlContains(driver, "https://login.example.com:8080/#/");
await VerifyIsFirstFactorStage(driver);
}