I'm not keen on the `sleep` statements in this test. 

I did some experimenting, and I think that if you add a wait into the end of the `homescreen.activate_edit_mode` method, which waits for an element that matches this selector: `(By.CSS_SELECTOR, 'div.dockWrapper ol[style*="transition: -moz-transform 0.5ms ease 0s;"]')`, then this wait here is no longer needed.