Commit 2005734e by Christine Lytwynec

move bok choy discussion tests to shard_2

parent 6809d5e7
......@@ -176,7 +176,7 @@ class DiscussionResponsePaginationTestMixin(BaseDiscussionMixin):
self.assertFalse(self.thread_page.has_add_response_button())
@attr('shard_1')
@attr('shard_2')
class DiscussionHomePageTest(UniqueCourseTest):
"""
Tests for the discussion home page.
......@@ -203,7 +203,7 @@ class DiscussionHomePageTest(UniqueCourseTest):
self.assertIsNotNone(self.page.new_post_form)
@attr('shard_1')
@attr('shard_2')
class DiscussionTabSingleThreadTest(BaseDiscussionTestCase, DiscussionResponsePaginationTestMixin):
"""
Tests for the discussion page displaying a single thread
......@@ -256,7 +256,7 @@ class DiscussionTabSingleThreadTest(BaseDiscussionTestCase, DiscussionResponsePa
self.assertFalse(self.thread_page.is_show_comments_visible(response_id))
@attr('shard_1')
@attr('shard_2')
class DiscussionTabMultipleThreadTest(BaseDiscussionTestCase):
"""
Tests for the discussion page with multiple threads
......@@ -311,7 +311,7 @@ class DiscussionTabMultipleThreadTest(BaseDiscussionTestCase):
self.thread_page_2.check_window_is_on_top()
@attr('shard_1')
@attr('shard_2')
class DiscussionOpenClosedThreadTest(BaseDiscussionTestCase):
"""
Tests for checking the display of attributes on open and closed threads
......@@ -360,7 +360,7 @@ class DiscussionOpenClosedThreadTest(BaseDiscussionTestCase):
self.assertFalse(page._is_element_visible('.response_response1 .display-vote'))
@attr('shard_1')
@attr('shard_2')
class DiscussionCommentDeletionTest(BaseDiscussionTestCase):
"""
Tests for deleting comments displayed beneath responses in the single thread view.
......@@ -397,7 +397,7 @@ class DiscussionCommentDeletionTest(BaseDiscussionTestCase):
page.delete_comment("comment_other_author")
@attr('shard_1')
@attr('shard_2')
class DiscussionResponseEditTest(BaseDiscussionTestCase):
"""
Tests for editing responses displayed beneath thread in the single thread view.
......@@ -491,7 +491,7 @@ class DiscussionResponseEditTest(BaseDiscussionTestCase):
page.endorse_response('response_other_author')
@attr('shard_1')
@attr('shard_2')
class DiscussionCommentEditTest(BaseDiscussionTestCase):
"""
Tests for editing comments displayed beneath responses in the single thread view.
......@@ -574,7 +574,7 @@ class DiscussionCommentEditTest(BaseDiscussionTestCase):
self.assertTrue(page.is_add_comment_visible("response1"))
@attr('shard_1')
@attr('shard_2')
class InlineDiscussionTest(UniqueCourseTest, DiscussionResponsePaginationTestMixin):
"""
Tests for inline discussions
......@@ -733,7 +733,7 @@ class InlineDiscussionTest(UniqueCourseTest, DiscussionResponsePaginationTestMix
self.assertFalse(self.additional_discussion_page._is_element_visible(".new-post-article"))
@attr('shard_1')
@attr('shard_2')
class DiscussionUserProfileTest(UniqueCourseTest):
"""
Tests for user profile page in discussion tab.
......@@ -862,7 +862,7 @@ class DiscussionUserProfileTest(UniqueCourseTest):
self.assertTrue(learner_profile_page.field_is_visible('username'))
@attr('shard_1')
@attr('shard_2')
class DiscussionSearchAlertTest(UniqueCourseTest):
"""
Tests for spawning and dismissing alerts related to user search actions and their results.
......@@ -936,7 +936,7 @@ class DiscussionSearchAlertTest(UniqueCourseTest):
).wait_for_page()
@attr('shard_1')
@attr('shard_2')
class DiscussionSortPreferenceTest(UniqueCourseTest):
"""
Tests for the discussion page displaying a single thread.
......
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