From b59a72965655df091bb2519a4ed92e51daa2b39d Mon Sep 17 00:00:00 2001 From: regexowl Date: Wed, 18 Jun 2025 13:41:27 +0200 Subject: [PATCH] sharedComponents: Rename "Create blueprint" button This renames the button to "Create image blueprint" to make the relationship between images and blueprints clearer. --- playwright/helpers/navHelpers.ts | 2 +- src/Components/sharedComponents/ImageBuilderHeader.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playwright/helpers/navHelpers.ts b/playwright/helpers/navHelpers.ts index e085faec..40c1007c 100644 --- a/playwright/helpers/navHelpers.ts +++ b/playwright/helpers/navHelpers.ts @@ -7,7 +7,7 @@ import { isHosted } from './helpers'; * @param page - the page object */ export const navigateToOptionalSteps = async (page: Page | FrameLocator) => { - await page.getByRole('button', { name: 'Create blueprint' }).click(); + await page.getByRole('button', { name: 'Create image blueprint' }).click(); await page.getByRole('checkbox', { name: 'Virtualization' }).click(); await page.getByRole('button', { name: 'Next' }).click(); }; diff --git a/src/Components/sharedComponents/ImageBuilderHeader.tsx b/src/Components/sharedComponents/ImageBuilderHeader.tsx index 6d2235ed..b85ad966 100644 --- a/src/Components/sharedComponents/ImageBuilderHeader.tsx +++ b/src/Components/sharedComponents/ImageBuilderHeader.tsx @@ -131,7 +131,7 @@ export const ImageBuilderHeader = ({ }) } > - Create blueprint + Create image blueprint {importExportFlag && (