B2G/QA/Automation/Style Guide/Howtos: Difference between revisions

m (Added snippet about non-working wait.)
Line 163: Line 163:
     print i, expected_end_value, element_that_is_moving.rect["y"]
     print i, expected_end_value, element_that_is_moving.rect["y"]


# Bugged Wait() below
Wait(self.marionette).until(lambda m: expected_end_value == element_that_is_moving.rect["y"])
<source>
</source>
Confirmed users
198

edits