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
0c319efb
Commit
0c319efb
authored
Apr 22, 2016
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12222 from edx/benp/flaky-notes-condition-ff42
wait needed for notes pages.
parents
e128ce16
d94fe718
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
common/test/acceptance/tests/lms/test_lms_edxnotes.py
+9
-0
No files found.
common/test/acceptance/tests/lms/test_lms_edxnotes.py
View file @
0c319efb
...
...
@@ -872,18 +872,27 @@ class EdxNotesPageTest(EventsTestMixin, EdxNotesTestMixin):
self
.
_add_default_notes
()
self
.
notes_page
.
visit
()
# visiting the page results in an ajax request to fetch the notes
self
.
notes_page
.
wait_for_ajax
()
note
=
self
.
notes_page
.
notes
[
0
]
assert_page
(
note
,
self
.
raw_note_list
[
4
][
'usage_id'
],
"Recent Activity"
)
self
.
notes_page
.
visit
()
.
switch_to_tab
(
"structure"
)
# visiting the page results in an ajax request to fetch the notes
self
.
notes_page
.
wait_for_ajax
()
note
=
self
.
notes_page
.
notes
[
1
]
assert_page
(
note
,
self
.
raw_note_list
[
2
][
'usage_id'
],
"Location in Course"
)
self
.
notes_page
.
visit
()
.
switch_to_tab
(
"tags"
)
# visiting the page results in an ajax request to fetch the notes
self
.
notes_page
.
wait_for_ajax
()
note
=
self
.
notes_page
.
notes
[
0
]
assert_page
(
note
,
self
.
raw_note_list
[
2
][
'usage_id'
],
"Tags"
)
self
.
notes_page
.
visit
()
.
search
(
"Fifth"
)
# visiting the page results in an ajax request to fetch the notes
self
.
notes_page
.
wait_for_ajax
()
note
=
self
.
notes_page
.
notes
[
0
]
assert_page
(
note
,
self
.
raw_note_list
[
4
][
'usage_id'
],
"Search Results"
)
...
...
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