fix(app): ensure result selection completes in tutorial step 14

The tutorial step 14 was moving to the next step immediately after
clicking the result button, without waiting for the click to complete
and the UI to update. This caused the input component not to be linked
to the runnable input.

Fixed by:
- Making onNextClick properly async
- Adding await wait(100) after the click to ensure UI updates
- Removing unnecessary setTimeout wrapper

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
This commit is contained in:
claude[bot]
2025-10-14 14:21:03 +00:00
co-authored by windmill-internal-app[bot]
parent 784f988b07
commit 557a9b49d5
@@ -233,11 +233,10 @@
popover: {
title: 'Select the output',
description: "Let's select the result of the text input component.",
onNextClick: () => {
setTimeout(async () => {
clickButtonBySelector('.component-output-viewer-a li button[title="result"]')
driver.moveNext()
})
onNextClick: async () => {
clickButtonBySelector('.component-output-viewer-a li button[title="result"]')
await wait(100)
driver.moveNext()
}
}
},