Commit 41f27f1f by raeeschachar

Fixed test quality button works correctly in Video tests failing on Chrome

parent 8d3fe518
......@@ -1172,11 +1172,13 @@ class YouTubeQualityTest(VideoBaseTest):
self.video.click_player_button('play')
self.video.wait_for(lambda: self.video.is_quality_button_visible, 'waiting for quality button to appear')
self.assertFalse(self.video.is_quality_button_active)
self.video.click_player_button('quality')
self.assertTrue(self.video.is_quality_button_active)
self.video.wait_for(lambda: self.video.is_quality_button_active, 'waiting for quality button activation')
@attr('a11y')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment