-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hello guys,
I noticed that when I use delay response in ui test, and in this response I return some value to assert in UI test, delayed response sometimes come after I made assertion.
So, first I mock response with delay like this router["/api/v2/users"] = DelayResponse(JSONResponse(......)), and after I assert value I got from response file, or assert ui element that I enabled in this mocked response. So this kind of tests are flaky, because depending on delay time, it gives back response after assertion.
Deleting delay response solves this flakiness. But why it happens with DelayResponse?
Metadata
Metadata
Assignees
Labels
No labels