-
Notifications
You must be signed in to change notification settings - Fork 69
#6300 Fix wrong Feature Tree when switching to kcl file with errors #6922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#6300 Fix wrong Feature Tree when switching to kcl file with errors #6922
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
e2e/playwright/sketch-tests.spec.ts
Outdated
|
||
await toolbar.openFile('error.kcl') | ||
|
||
// Ensure filetree is populate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There appears to be a typo in the comment: Ensure filetree is populate
should be Ensure filetree is populated
for grammatical correctness.
// Ensure filetree is populate | |
// Ensure filetree is populated |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works beautifully locally. Tysm!
e2e/playwright/sketch-tests.spec.ts
Outdated
await toolbar.openFile('error.kcl') | ||
|
||
// Ensure filetree is populate | ||
await page.waitForTimeout(1000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this again here?
await page.waitForTimeout(1000) | |
await scene.settled(cmdBar) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that seems to work too and much better!
|
||
// These belonged to the previous file | ||
this.lastSuccessfulOperations = [] | ||
this.lastSuccessfulVariables = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooooh so clean
Fixes #6300