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
570c524b
Commit
570c524b
authored
Jun 09, 2015
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move lms edx notes tests to shard_4
parent
659c72a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
common/test/acceptance/tests/lms/test_lms_edxnotes.py
+5
-0
No files found.
common/test/acceptance/tests/lms/test_lms_edxnotes.py
View file @
570c524b
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.
...
...
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