Closed Bug 1152399 Opened 5 years ago Closed 4 years ago

Find a better way to the workaround of time.sleep() for tapping the dialog button

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: martijn.martijn, Unassigned)

Details

In bug 1146877 and bug 1150913, I had to add a small time.sleep(0.2) value, to fix some intermittent timeout failure, because the tap on the dialog button didn't register, supposedly because some event listener wasn't activated yet.
So we need to wait somehow, until the dialog button is really ready.
We do that currently with the time.sleep(0.2) value, but we should use something better.
Marking WONTFIX, sorry for the bug spam. If somebody still wants to work on this, please file a new bug for it.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.