Commit 9cf16cd2 by raeeschachar

Merge pull request #11201 from edx/raees/chrome-bokchoy-test-annotation-component

Fixed test annotation component failing on Chrome
parents 1ba96f37 c790b62a
......@@ -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)
......
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