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
ed812f1c
Commit
ed812f1c
authored
10 years ago
by
Waqas Khalid
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6476 from mlkwaqas/waqas/fix-discussion-flaky-test
Test pagination reposition test is failing
parents
2077d4dc
e39be585
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
common/test/acceptance/pages/lms/discussion.py
+12
-0
No files found.
common/test/acceptance/pages/lms/discussion.py
View file @
ed812f1c
...
...
@@ -406,12 +406,24 @@ class DiscussionUserProfilePage(CoursePage):
def
click_prev_page
(
self
):
self
.
_click_pager_with_text
(
self
.
TEXT_PREV
,
self
.
get_current_page
()
-
1
)
EmptyPromise
(
self
.
is_window_on_top
,
"Window is on top"
)
.
fulfill
()
def
click_next_page
(
self
):
self
.
_click_pager_with_text
(
self
.
TEXT_NEXT
,
self
.
get_current_page
()
+
1
)
EmptyPromise
(
self
.
is_window_on_top
,
"Window is on top"
)
.
fulfill
()
def
click_on_page
(
self
,
page_number
):
self
.
_click_pager_with_text
(
unicode
(
page_number
),
page_number
)
EmptyPromise
(
self
.
is_window_on_top
,
"Window is on top"
)
.
fulfill
()
class
DiscussionTabHomePage
(
CoursePage
,
DiscussionPageMixin
):
...
...
This diff is collapsed.
Click to expand it.
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