Wizard: Update periods at the end of lines

Removing/adding some periods for the sake of consistency.

I believe the description of the step should end with a period, helped texts and options should not (at least that's the prevailing pattern in the Wizard as of now).
This commit is contained in:
regexowl 2025-04-17 11:18:41 +02:00 committed by Lucas Garfield
parent 7f585154f2
commit 70a97acc10
5 changed files with 10 additions and 10 deletions

View file

@ -22,7 +22,7 @@ const FileSystemStep = () => {
<Title headingLevel="h1" size="xl">
File system configuration
</Title>
<Text>Define the partitioning of the image</Text>
<Text>Define the partitioning of the image.</Text>
{hasIsoTargetOnly ? (
<FileSystemAutomaticPartition />
) : fileSystemConfigurationType === 'automatic' ? (

View file

@ -40,7 +40,7 @@ const ImageOutputStep = () => {
</Title>
<Text>
Images enables you to create customized blueprints, create custom images
from the blueprints, and push them to target environments
from the blueprints, and push them to target environments.
<br />
<DocumentationButton />
</Text>

View file

@ -33,8 +33,8 @@ export default function Snapshot() {
id="use latest snapshot radio"
ouiaId="use-latest-snapshot-radio"
name="use-latest-snapshot"
label="Disable repeatable build."
description="Use the newest repository content available when building this image."
label="Disable repeatable build"
description="Use the newest repository content available when building this image"
isChecked={useLatest}
onChange={() => !useLatest && dispatch(changeUseLatest(true))}
/>
@ -43,7 +43,7 @@ export default function Snapshot() {
ouiaId="use-snapshot-date-radio"
name="use-snapshot-date"
label="Enable repeatable build"
description="Build this image with the repository content of a selected date."
description="Build this image with the repository content of a selected date"
isChecked={!useLatest}
onChange={() => useLatest && dispatch(changeUseLatest(false))}
/>

View file

@ -72,12 +72,12 @@ export const PasswordValidatedInput = ({
<FormHelperText>
<HelperText component="ul">
<HelperTextItem variant={ruleLength} component="li" hasIcon>
Password must be at least 6 characters long.
Password must be at least 6 characters long
</HelperTextItem>
{environments.includes('azure') && (
<HelperTextItem variant={ruleCharacters} component="li" hasIcon>
Must include at least 3 of the following: lowercase letters,
uppercase letters, numbers, symbols.
uppercase letters, numbers, symbols
</HelperTextItem>
)}
</HelperText>

View file

@ -215,10 +215,10 @@ describe('Step Users', () => {
await addPassword(invalidPassword);
const invalidUserMessage = screen.getByText(
/Password must be at least 6 characters long./i
/Password must be at least 6 characters long/i
);
const warningUserMessage = screen.getByText(
/Must include at least 3 of the following: lowercase letters, uppercase letters, numbers, symbols./i
/Must include at least 3 of the following: lowercase letters, uppercase letters, numbers, symbols/i
);
await waitFor(() => expect(invalidUserMessage));
await waitFor(() => expect(warningUserMessage));
@ -236,7 +236,7 @@ describe('Step Users', () => {
await addPassword(invalidPassword);
const invalidUserMessage = screen.getByText(
/Password must be at least 6 characters long./i
/Password must be at least 6 characters long/i
);
await waitFor(() => expect(invalidUserMessage));
const nextButton = await getNextButton();