From c790b62aa0dd0833c52fa99945eb9d7725fd0871 Mon Sep 17 00:00:00 2001 From: raeeschachar Date: Tue, 12 Jan 2016 18:41:36 +0500 Subject: [PATCH] Fixed test annotation component failing on Chrome --- common/test/acceptance/tests/test_annotatable.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/test/acceptance/tests/test_annotatable.py b/common/test/acceptance/tests/test_annotatable.py index 9345d1cf42..487d344d6a 100644 --- a/common/test/acceptance/tests/test_annotatable.py +++ b/common/test/acceptance/tests/test_annotatable.py @@ -9,6 +9,7 @@ from ..pages.lms.courseware import CoursewarePage from ..pages.lms.annotation_component import AnnotationComponentPage from ..fixtures.course import CourseFixture, XBlockFixtureDesc from textwrap import dedent +from ..tests.helpers import disable_animations def _correctness(choice, target): @@ -124,6 +125,8 @@ class AnnotatableProblemTest(UniqueCourseTest): """ annotation_component_page = self._goto_annotation_component_page() + # This will avoid scrolling related problems on different browsers and instead directly jump on the problem + disable_animations(annotation_component_page) for i in xrange(self.annotation_count): annotation_component_page.click_reply_annotation(i)