Merge pull request #8422 from edx/clytwynec/rebalance_bokchoy_shards
Clytwynec/rebalance bokchoy shards
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
from uuid import uuid4
|
||||
from datetime import datetime
|
||||
from nose.plugins.attrib import attr
|
||||
from ..helpers import UniqueCourseTest
|
||||
from ...fixtures.course import CourseFixture, XBlockFixtureDesc
|
||||
from ...pages.lms.auto_auth import AutoAuthPage
|
||||
@@ -117,6 +118,7 @@ class EdxNotesTestMixin(UniqueCourseTest):
|
||||
self.edxnotes_fixture.install()
|
||||
|
||||
|
||||
@attr('shard_4')
|
||||
class EdxNotesDefaultInteractionsTest(EdxNotesTestMixin):
|
||||
"""
|
||||
Tests for creation, editing, deleting annotations inside annotatable components in LMS.
|
||||
@@ -332,6 +334,7 @@ class EdxNotesDefaultInteractionsTest(EdxNotesTestMixin):
|
||||
self.assertTrue(note.has_sr_label(1, 3, "Tags (space-separated)"))
|
||||
|
||||
|
||||
@attr('shard_4')
|
||||
class EdxNotesPageTest(EventsTestMixin, EdxNotesTestMixin):
|
||||
"""
|
||||
Tests for Notes page.
|
||||
@@ -1001,6 +1004,7 @@ class EdxNotesPageTest(EventsTestMixin, EdxNotesTestMixin):
|
||||
self.assertFalse(note.is_visible)
|
||||
|
||||
|
||||
@attr('shard_4')
|
||||
class EdxNotesToggleSingleNoteTest(EdxNotesTestMixin):
|
||||
"""
|
||||
Tests for toggling single annotation.
|
||||
@@ -1069,6 +1073,7 @@ class EdxNotesToggleSingleNoteTest(EdxNotesTestMixin):
|
||||
self.assertTrue(note_2.is_visible)
|
||||
|
||||
|
||||
@attr('shard_4')
|
||||
class EdxNotesToggleNotesTest(EdxNotesTestMixin):
|
||||
"""
|
||||
Tests for toggling visibility of all notes.
|
||||
|
||||
@@ -67,7 +67,7 @@ class SplitTestMixin(object):
|
||||
Promise(missing_groups_button_not_present, "Add missing groups button should not be showing.").fulfill()
|
||||
|
||||
|
||||
@attr('shard_1')
|
||||
@attr('shard_2')
|
||||
class SplitTest(ContainerBase, SplitTestMixin):
|
||||
"""
|
||||
Tests for creating and editing split test instances in Studio.
|
||||
@@ -200,7 +200,7 @@ class SplitTest(ContainerBase, SplitTestMixin):
|
||||
self.verify_groups(container, ['alpha'], [], verify_missing_groups_not_present=False)
|
||||
|
||||
|
||||
@attr('shard_1')
|
||||
@attr('shard_2')
|
||||
class GroupConfigurationsNoSplitTest(StudioCourseTest):
|
||||
"""
|
||||
Tests how the Group Configuration page should look when the split_test module is not enabled.
|
||||
@@ -225,7 +225,7 @@ class GroupConfigurationsNoSplitTest(StudioCourseTest):
|
||||
self.assertFalse(self.group_configurations_page.experiment_group_sections_present)
|
||||
|
||||
|
||||
@attr('shard_1')
|
||||
@attr('shard_2')
|
||||
class GroupConfigurationsTest(ContainerBase, SplitTestMixin):
|
||||
"""
|
||||
Tests that Group Configurations page works correctly with previously
|
||||
|
||||
@@ -12,7 +12,7 @@ from ...pages.lms.courseware import CoursewarePage
|
||||
from ...fixtures.course import XBlockFixtureDesc
|
||||
|
||||
|
||||
@attr('shard_1')
|
||||
@attr('shard_2')
|
||||
class VideoLicenseTest(StudioCourseTest):
|
||||
"""
|
||||
Tests for video module-level licensing (that is, setting the license,
|
||||
|
||||
Reference in New Issue
Block a user