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
2005734e
Commit
2005734e
authored
Jun 08, 2015
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move bok choy discussion tests to shard_2
parent
6809d5e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
common/test/acceptance/tests/discussion/test_discussion.py
+11
-11
No files found.
common/test/acceptance/tests/discussion/test_discussion.py
View file @
2005734e
...
...
@@ -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.
...
...
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