fix: bad prompt fix
This commit is contained in:
		@ -155,6 +155,7 @@ test.describe('Prompt-to-edit tests', { tag: '@skipWin' }, () => {
 | 
			
		||||
      localStorage.setItem('persistCode', file)
 | 
			
		||||
    }, file)
 | 
			
		||||
    await homePage.goToModelingScene()
 | 
			
		||||
    await scene.waitForExecutionDone()
 | 
			
		||||
 | 
			
		||||
    const body1CapCoords = { x: 571, y: 351 }
 | 
			
		||||
    const [clickBody1Cap] = scene.makeMouseHelpers(
 | 
			
		||||
 | 
			
		||||
@ -9,6 +9,8 @@ import {
 | 
			
		||||
  getCalculatedKclExpressionValue,
 | 
			
		||||
  programMemoryFromVariables,
 | 
			
		||||
} from './kclHelpers'
 | 
			
		||||
import { parse, resultIsOk } from 'lang/wasm'
 | 
			
		||||
import { err } from 'lib/trap'
 | 
			
		||||
 | 
			
		||||
const isValidVariableName = (name: string) =>
 | 
			
		||||
  /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(name)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user