Hello Maria,
Yes the approach you took of changing the role from wait for to verify should work just fine. In reality either the wait for or the verification would work just fine. The difference is that a verification will look once and only once and fail the test if it does not meet the condition specified. Versus a wait for will monitor the condition being tested and after a timeout period, the default being 30 seconds, will fail the test if the condition is not met after that timeout period. If the condition is met immediately though the test will immediately move on, it does not wait 30 seconds.
Regards,
Cody
Telerik
Yes the approach you took of changing the role from wait for to verify should work just fine. In reality either the wait for or the verification would work just fine. The difference is that a verification will look once and only once and fail the test if it does not meet the condition specified. Versus a wait for will monitor the condition being tested and after a timeout period, the default being 30 seconds, will fail the test if the condition is not met after that timeout period. If the condition is met immediately though the test will immediately move on, it does not wait 30 seconds.
Regards,
Cody
Telerik