Commit 6c42f4c
committed
fix: Only enter if-block (and click 'customize') when 'customize' is present
handlePuppetReady() is called very often and in parallel
Removing the sleep(1000) the condition (can I click?) and action (I do click) are closer to each other and we have less chance for a race condition.1 parent 92948e9 commit 6c42f4c
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | | - | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
0 commit comments