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

→‎Debug a non-working wait: added extra explanation
(→‎Debug a non-working wait: added extra explanation)
 
Line 160: Line 160:


<source lang="python">
<source lang="python">
# Do something that changes the value of element(s)
do_motion()
for i in range(0, 20)
for i in range(0, 20)
     print i, expected_end_value, element_that_is_moving.rect["y"]
     print i, expected_end_value, element_that_is_moving.rect["y"]
352

edits