mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-18 11:29:26 +03:00
4335498ac5
* web: Clean up locale. * web: Clean ambiguous imports. * web: Clean up entrypoint imports. * web: Format imports. * web: Normalize extensions. * web: Tidy order. * web: Remove TS aliases.
24 lines
529 B
TypeScript
24 lines
529 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 await $('>>>h1[aria-level="1"]');
|
|
}
|
|
|
|
public async goToAdmin() {
|
|
await $('>>>a[href="/if/admin"]').click();
|
|
return await $("ak-admin-overview").waitForDisplayed();
|
|
}
|
|
}
|
|
|
|
export default new UserLibraryPage();
|