Files
authentik/web/tests/pageobjects/user-library.page.ts
T
Teffen Ellis 232f52b349 web/e2e: Playwright end-to-end test runner (#16014)
* web: Flesh out Playwright.

web: Flesh out slim tests.

* web/e2e: Sessions

* web: Update tests.

* web: Fix missing git hash when using docker as backend.

* Fix selectors.

* web: Flesh out a11y in wizard elements.

* web: Flesh out provider tests.
2025-08-26 17:09:00 +00:00

24 lines
514 B
TypeScript

import Page from "./page.js";
import { $ } from "@wdio/globals";
/**
* sub page containing specific selectors and methods for a specific page
*/
class UserLibraryPage extends Page {
/**
* define selectors using getter methods
*/
public async pageHeader() {
return $(">>>header h1");
}
public async goToAdmin() {
await $('>>>a[href="/if/admin"]').click();
return await $("ak-admin-overview").waitForDisplayed();
}
}
export default new UserLibraryPage();