Files
authentik/web/tests/pageobjects/forms/application.form.ts
Teffen Ellis 1bc2daae98 web: Form validation regressions, consistency fixes (#15894)
* web: Clean up naming of inputs.

* web: Flesh out label components, slots.

* web: Expand clickable area of labels.

* web: Fix issue where launch URL is required.

* web: Surface string errors verbatim.

* web: Fix issues surrounding client-side error reporting, form validation,
server-side error reporting.

* web: Clarify property visibility.

* web: Fix issue where provider errors are not surfaced.

* web: Fix issue where wizard steps do not consistently use form validation.

* web: Fix issue where render root is not preferred.

* web: Fix import path.

* web: Fix selectors.

* keep labels aligned

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* web: Fix field nesting.

* web: Fix issue where required secret text inputs fail validation when editing existing entities.

- We need to make the component have a better understanding of this concept.

* web: Fix slot alignment on legacy elements.

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2025-08-12 14:34:08 +00:00

20 lines
429 B
TypeScript

import Page from "../page.js";
import { $ } from "@wdio/globals";
export class ApplicationForm extends Page {
async name() {
return await $('>>>ak-text-input[name="name"]').$(">>>input");
}
async uiSettings() {
return $('>>>ak-form-group[label="UI Settings"]');
}
async launchUrl() {
return await $('>>>input[name="metaLaunchUrl"]');
}
}
export default new ApplicationForm();