Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Adds a11y tests for categorization and recognizer job wizards #162126

Merged
merged 2 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export const JobSettingsForm: FC<JobSettingsFormProps> = ({
value={jobPrefix}
onChange={({ target: { value } }) => setJobPrefix(value)}
isInvalid={!!validationResult.jobPrefix}
data-test-subj="mlJobRecognizerWizardInputJobIdPrefix"
/>
</EuiFormRow>
</EuiDescribedFormGroup>
Expand Down Expand Up @@ -210,6 +211,7 @@ export const JobSettingsForm: FC<JobSettingsFormProps> = ({
/>
}
paddingSize="l"
data-test-subj="mlJobWizardToggleAdvancedSection"
>
<EuiDescribedFormGroup
title={
Expand All @@ -227,7 +229,10 @@ export const JobSettingsForm: FC<JobSettingsFormProps> = ({
/>
}
>
<EuiFormRow describedByIds={['ml_aria_label_new_job_dedicated_index']}>
<EuiFormRow
describedByIds={['ml_aria_label_new_job_dedicated_index']}
data-test-subj="mlJobWizardAdvancedSection"
>
<EuiSwitch
id="useDedicatedIndex"
name="useDedicatedIndex"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export const Page: FC<PageProps> = ({ moduleId, existingGroupIds }) => {

{jobsAwaitingNodeCount > 0 && <JobsAwaitingNodeWarning jobCount={jobsAwaitingNodeCount} />}

<EuiFlexGroup wrap={true} gutterSize="m">
<EuiFlexGroup wrap={true} gutterSize="m" data-test-subj="mlPageJobWizard recognizer">
<EuiFlexItem grow={1}>
<EuiPanel grow={false} hasShadow={false} hasBorder>
<EuiTitle size="s">
Expand Down
494 changes: 1 addition & 493 deletions x-pack/test/accessibility/apps/ml.ts

Large diffs are not rendered by default.

Loading
Loading