Commit 570c524b by Christine Lytwynec

move lms edx notes tests to shard_4

parent 659c72a0
import os import os
from uuid import uuid4 from uuid import uuid4
from datetime import datetime from datetime import datetime
from nose.plugins.attrib import attr
from ..helpers import UniqueCourseTest from ..helpers import UniqueCourseTest
from ...fixtures.course import CourseFixture, XBlockFixtureDesc from ...fixtures.course import CourseFixture, XBlockFixtureDesc
from ...pages.lms.auto_auth import AutoAuthPage from ...pages.lms.auto_auth import AutoAuthPage
...@@ -117,6 +118,7 @@ class EdxNotesTestMixin(UniqueCourseTest): ...@@ -117,6 +118,7 @@ class EdxNotesTestMixin(UniqueCourseTest):
self.edxnotes_fixture.install() self.edxnotes_fixture.install()
@attr('shard_4')
class EdxNotesDefaultInteractionsTest(EdxNotesTestMixin): class EdxNotesDefaultInteractionsTest(EdxNotesTestMixin):
""" """
Tests for creation, editing, deleting annotations inside annotatable components in LMS. Tests for creation, editing, deleting annotations inside annotatable components in LMS.
...@@ -332,6 +334,7 @@ class EdxNotesDefaultInteractionsTest(EdxNotesTestMixin): ...@@ -332,6 +334,7 @@ class EdxNotesDefaultInteractionsTest(EdxNotesTestMixin):
self.assertTrue(note.has_sr_label(1, 3, "Tags (space-separated)")) self.assertTrue(note.has_sr_label(1, 3, "Tags (space-separated)"))
@attr('shard_4')
class EdxNotesPageTest(EventsTestMixin, EdxNotesTestMixin): class EdxNotesPageTest(EventsTestMixin, EdxNotesTestMixin):
""" """
Tests for Notes page. Tests for Notes page.
...@@ -1001,6 +1004,7 @@ class EdxNotesPageTest(EventsTestMixin, EdxNotesTestMixin): ...@@ -1001,6 +1004,7 @@ class EdxNotesPageTest(EventsTestMixin, EdxNotesTestMixin):
self.assertFalse(note.is_visible) self.assertFalse(note.is_visible)
@attr('shard_4')
class EdxNotesToggleSingleNoteTest(EdxNotesTestMixin): class EdxNotesToggleSingleNoteTest(EdxNotesTestMixin):
""" """
Tests for toggling single annotation. Tests for toggling single annotation.
...@@ -1069,6 +1073,7 @@ class EdxNotesToggleSingleNoteTest(EdxNotesTestMixin): ...@@ -1069,6 +1073,7 @@ class EdxNotesToggleSingleNoteTest(EdxNotesTestMixin):
self.assertTrue(note_2.is_visible) self.assertTrue(note_2.is_visible)
@attr('shard_4')
class EdxNotesToggleNotesTest(EdxNotesTestMixin): class EdxNotesToggleNotesTest(EdxNotesTestMixin):
""" """
Tests for toggling visibility of all notes. Tests for toggling visibility of all notes.
......
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