Wizard/Review: Rename from Image to blueprint
Where applicable renamed Image details or name to blueprint details or name.
This commit is contained in:
parent
9b82b22d75
commit
9f3cb26e0a
3 changed files with 9 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ import {
|
|||
ContentList,
|
||||
FSCList,
|
||||
FirstBootList,
|
||||
ImageDetailsList,
|
||||
DetailsList,
|
||||
ImageOutputList,
|
||||
OscapList,
|
||||
RegisterLaterList,
|
||||
|
|
@ -288,9 +288,9 @@ const Review = ({ snapshottingEnabled }: { snapshottingEnabled: boolean }) => {
|
|||
<ExpandableSection
|
||||
toggleContent={
|
||||
<>
|
||||
Image details{' '}
|
||||
Details{' '}
|
||||
<RevisitStepButton
|
||||
ariaLabel="Revisit Image details step"
|
||||
ariaLabel="Revisit Details step"
|
||||
stepId="step-details"
|
||||
/>
|
||||
</>
|
||||
|
|
@ -302,7 +302,7 @@ const Review = ({ snapshottingEnabled }: { snapshottingEnabled: boolean }) => {
|
|||
isIndented
|
||||
data-testid="image-details-expandable"
|
||||
>
|
||||
<ImageDetailsList />
|
||||
<DetailsList />
|
||||
</ExpandableSection>
|
||||
)}
|
||||
</>
|
||||
|
|
|
|||
|
|
@ -703,7 +703,7 @@ export const RegisterNowList = () => {
|
|||
);
|
||||
};
|
||||
|
||||
export const ImageDetailsList = () => {
|
||||
export const DetailsList = () => {
|
||||
const blueprintName = useAppSelector(selectBlueprintName);
|
||||
const blueprintDescription = useAppSelector(selectBlueprintDescription);
|
||||
|
||||
|
|
@ -716,7 +716,7 @@ export const ImageDetailsList = () => {
|
|||
component={TextListItemVariants.dt}
|
||||
className="pf-u-min-width"
|
||||
>
|
||||
Image name
|
||||
Blueprint name
|
||||
</TextListItem>
|
||||
<TextListItem component={TextListItemVariants.dd}>
|
||||
{blueprintName}
|
||||
|
|
|
|||
|
|
@ -203,7 +203,9 @@ describe('Blueprints', () => {
|
|||
{},
|
||||
routes
|
||||
);
|
||||
const blueprintDetails = await screen.findByText('Image details');
|
||||
const blueprintDetails = await screen.findByTestId(
|
||||
'image-details-expandable'
|
||||
);
|
||||
await user.click(blueprintDetails);
|
||||
await screen.findByText(editedBlueprintName);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue