Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
65b4e336
Commit
65b4e336
authored
Jun 09, 2015
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8422 from edx/clytwynec/rebalance_bokchoy_shards
Clytwynec/rebalance bokchoy shards
parents
73b3af6c
570c524b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
15 deletions
+20
-15
common/test/acceptance/tests/discussion/test_discussion.py
+11
-11
common/test/acceptance/tests/lms/test_lms_edxnotes.py
+5
-0
common/test/acceptance/tests/studio/test_studio_split_test.py
+3
-3
common/test/acceptance/tests/video/test_video_license.py
+1
-1
No files found.
common/test/acceptance/tests/discussion/test_discussion.py
View file @
65b4e336
...
...
@@ -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.
...
...
common/test/acceptance/tests/lms/test_lms_edxnotes.py
View file @
65b4e336
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.
...
...
common/test/acceptance/tests/studio/test_studio_split_test.py
View file @
65b4e336
...
...
@@ -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
...
...
common/test/acceptance/tests/video/test_video_license.py
View file @
65b4e336
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment