Skip to content

Conversation

emanlove
Copy link
Member

@emanlove emanlove commented Aug 3, 2025

Various cleanup work on the internal test suite and bringing up the versions of parts of the tech stack.

@@ -43,6 +43,7 @@ Handle Alert returns message

Handle Alert with custom timeout
Click Button Slow alert
Sleep 0.1s
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn’t this indicate problem in the library, instead of doing sleep, should library be fixed?

Copy link
Member Author

@emanlove emanlove Aug 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated this. I removed the sleep but also extended the given timeout. For this test the alert was delayed 500ms and it appears that timing out at 1sec (or 500ms later) is too short to reasonable expect for alert triggered and then detected. This extension gives it a reasonable amount of time after triggering.

Previously the timeout was 1 sec and the alert was delayed 500ms. With a normal execution
it seems that that 500ms diference is just not long enough to reasonably expect the alert
to appear. In reviewing this test it was shown any delay was useful and the needed time
for an alert to triggered and then recognized would need more than 500ms.
@emanlove emanlove merged commit 1458cbe into robotframework:master Aug 3, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants