mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
232f52b349
* 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.
24 lines
514 B
TypeScript
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();
|