19 lines
455 B
TypeScript
19 lines
455 B
TypeScript
|
import { $ } from "@wdio/globals";
|
||
|
import Page from "../page.js";
|
||
|
|
||
|
export class SamlForm extends Page {
|
||
|
async setAuthorizationFlow(selector: string) {
|
||
|
await this.searchSelect(
|
||
|
'>>>ak-flow-search[name="authorizationFlow"] input[type="text"]',
|
||
|
"authorizationFlow",
|
||
|
`button*=${selector}`
|
||
|
);
|
||
|
}
|
||
|
|
||
|
get acsUrl() {
|
||
|
return $('>>>input[name="acsUrl"]');
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default new SamlForm();
|