We shouldn't silently pass the tests if not in desktop form factor, but instead use: self.skip("Not in desktop form-factor.")
Also, instead of: sleep(1); self.assertTrue(self.dash.visible)
you can now use Thomi's
self.assertThat(self.dash.visible, Eventually(Equals(True)))
« Back to merge proposal
We shouldn't silently pass the tests if not in desktop form factor, but instead use:
self.skip("Not in desktop form-factor.")
Also, instead of: assertTrue( self.dash. visible)
sleep(1);
self.
you can now use Thomi's
self. assertThat( self.dash. visible, Eventually( Equals( True)))