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.
20 lines
476 B
TypeScript
20 lines
476 B
TypeScript
import Page from "../page.js";
|
|
|
|
import { $ } from "@wdio/globals";
|
|
|
|
export class OauthForm extends Page {
|
|
async setAuthorizationFlow(selector: string) {
|
|
await this.searchSelect(
|
|
'>>>ak-flow-search[name="authorizationFlow"]',
|
|
"authorizationFlow",
|
|
`${selector}`,
|
|
);
|
|
}
|
|
|
|
async providerName() {
|
|
return await $('>>>ak-form-element-horizontal[name="name"]').$("input");
|
|
}
|
|
}
|
|
|
|
export default new OauthForm();
|