This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2023-09-26 22:15:47 +00:00
|
|
|
import Page from "../page.js";
|
2023-10-04 21:24:45 +00:00
|
|
|
import { $ } from "@wdio/globals";
|
2023-09-26 22:15:47 +00:00
|
|
|
|
|
|
|
export class TransparentProxyForm extends Page {
|
|
|
|
async setAuthorizationFlow(selector: string) {
|
|
|
|
await this.searchSelect(
|
|
|
|
'>>>ak-flow-search[name="authorizationFlow"] input[type="text"]',
|
|
|
|
"authorizationFlow",
|
2023-10-04 21:24:45 +00:00
|
|
|
`button*=${selector}`,
|
2023-09-26 22:15:47 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
get externalHost() {
|
|
|
|
return $('>>>input[name="externalHost"]');
|
|
|
|
}
|
|
|
|
|
|
|
|
get internalHost() {
|
|
|
|
return $('>>>input[name="internalHost"]');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default new TransparentProxyForm();
|