Fix: creating a dir ending with .kcl panics the app (#7099)
* Fix: creating a dir ending with .kcl panics the app Fixes #7082 * Update snapshots * Update snapshots * Add test * tag: ['@electron', '@macos', '@windows'] --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
		@ -557,6 +557,14 @@ export async function getUtils(page: Page, test_?: typeof test) {
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    createNewFolder: async (name: string) => {
 | 
			
		||||
      return test?.step(`Create a folder named ${name}`, async () => {
 | 
			
		||||
        await page.getByTestId('create-folder-button').click()
 | 
			
		||||
        await page.getByTestId('tree-input-field').fill(name)
 | 
			
		||||
        await page.keyboard.press('Enter')
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    cloneFile: async (name: string) => {
 | 
			
		||||
      return test?.step(`Cloning file '${name}'`, async () => {
 | 
			
		||||
        await page
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user