mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-30 00:16:53 +00:00
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:
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()
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user