Commit 6f404fe2 by cahrens

Test cleanup.

parent de80f892
...@@ -62,7 +62,6 @@ class ContainerPage(PageObject): ...@@ -62,7 +62,6 @@ class ContainerPage(PageObject):
target, 0, target.size['height'] / 2 if after else 0 target, 0, target.size['height'] / 2 if after else 0
).perform() # pylint: disable=protected-access ).perform() # pylint: disable=protected-access
action.release().perform() action.release().perform()
# TODO: should wait for "Saving" to go away so we know the operation is complete?
class XBlockWrapper(PageObject): class XBlockWrapper(PageObject):
......
...@@ -99,6 +99,7 @@ class DragAndDropTest(ContainerBase): ...@@ -99,6 +99,7 @@ class DragAndDropTest(ContainerBase):
"Number of children incorrect for group {0}. Expected {1} but got {2}.".format(parent, expected_length, len(children))) "Number of children incorrect for group {0}. Expected {1} but got {2}.".format(parent, expected_length, len(children)))
for idx, expected in enumerate(expected_ordering.get(parent)): for idx, expected in enumerate(expected_ordering.get(parent)):
self.assertEqual(expected, children[idx].name) self.assertEqual(expected, children[idx].name)
break
def drag_and_verify(self, source, target, expected_ordering, after=True): def drag_and_verify(self, source, target, expected_ordering, after=True):
container = self.go_to_container_page(make_draft=True) container = self.go_to_container_page(make_draft=True)
......
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