Skip to content

Commit f7fc3b2

Browse files
authored
Rename "Text-to-CAD Create" command to "Create project using Text-to-CAD" (#8127)
1 parent 32a8b0f commit f7fc3b2

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

e2e/playwright/command-bar-tests.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ theta = 45deg
762762
await homePage.textToCadBtn.click()
763763
await cmdBar.expectState({
764764
stage: 'arguments',
765-
commandName: 'Text-to-CAD Create',
765+
commandName: 'Create Project using Text-to-CAD',
766766
currentArgKey: 'prompt',
767767
currentArgValue: '',
768768
headerArguments: {

e2e/playwright/native-file-menu.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ test.describe(
510510
'Design.Create with Zoo Text-To-CAD'
511511
)
512512
await cmdBar.toBeOpened()
513-
await cmdBar.expectCommandName('Text-to-CAD Create')
513+
await cmdBar.expectCommandName('Create Project using Text-to-CAD')
514514
})
515515

516516
await test.step('Modeling.Help.KCL code samples', async () => {

e2e/playwright/text-to-cad-tests.spec.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,12 @@ async function sendPromptFromCommandBarAndSetNewProject(
156156
await page.waitForTimeout(1000)
157157
await test.step(`Send prompt from command bar: ${promptStr}`, async () => {
158158
await cmdBar.openCmdBar()
159-
await cmdBar.selectOption({ name: 'Text-to-CAD Create' }).click()
159+
await cmdBar
160+
.selectOption({ name: 'Create Project using Text-to-CAD' })
161+
.click()
160162

161163
await cmdBar.expectState({
162-
commandName: 'Text-to-CAD Create',
164+
commandName: 'Create Project using Text-to-CAD',
163165
stage: 'arguments',
164166
currentArgKey: 'method',
165167
currentArgValue: '',
@@ -172,7 +174,7 @@ async function sendPromptFromCommandBarAndSetNewProject(
172174
await cmdBar.progressCmdBar()
173175

174176
await cmdBar.expectState({
175-
commandName: 'Text-to-CAD Create',
177+
commandName: 'Create Project using Text-to-CAD',
176178
stage: 'arguments',
177179
currentArgKey: 'newProjectName',
178180
currentArgValue: '',
@@ -187,7 +189,7 @@ async function sendPromptFromCommandBarAndSetNewProject(
187189
await cmdBar.progressCmdBar()
188190

189191
await cmdBar.expectState({
190-
commandName: 'Text-to-CAD Create',
192+
commandName: 'Create Project using Text-to-CAD',
191193
stage: 'arguments',
192194
currentArgKey: 'prompt',
193195
currentArgValue: '',

src/lib/commandBarConfigs/applicationCommandConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function createApplicationCommands({
142142
const textToCADCommand: Command = {
143143
name: 'Text-to-CAD',
144144
description: 'Generate parts from text prompts.',
145-
displayName: 'Text-to-CAD Create',
145+
displayName: 'Create Project using Text-to-CAD',
146146
groupId: 'application',
147147
needsReview: false,
148148
status: IS_ML_EXPERIMENTAL ? 'experimental' : 'active',

0 commit comments

Comments
 (0)