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
a7cec328
Commit
a7cec328
authored
Sep 10, 2015
by
Muhammad Shoaib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix of Flaky test in proctored exams.
parent
fe1c44af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
common/test/acceptance/pages/lms/instructor_dashboard.py
+1
-1
common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
+3
-5
No files found.
common/test/acceptance/pages/lms/instructor_dashboard.py
View file @
a7cec328
...
@@ -72,7 +72,7 @@ class InstructorDashboardPage(CoursePage):
...
@@ -72,7 +72,7 @@ class InstructorDashboardPage(CoursePage):
"""
"""
self
.
q
(
css
=
'a[data-section=proctoring]'
)
.
first
.
click
()
self
.
q
(
css
=
'a[data-section=proctoring]'
)
.
first
.
click
()
proctoring_section
=
ProctoringPage
(
self
.
browser
)
proctoring_section
=
ProctoringPage
(
self
.
browser
)
proctoring_section
.
wait_for_
ajax
()
proctoring_section
.
wait_for_
page
()
return
proctoring_section
return
proctoring_section
@staticmethod
@staticmethod
...
...
common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
View file @
a7cec328
...
@@ -209,7 +209,7 @@ class ProctoredExamsTest(BaseInstructorDashboardTest):
...
@@ -209,7 +209,7 @@ class ProctoredExamsTest(BaseInstructorDashboardTest):
self
.
_auto_auth
(
"STAFF_TESTER"
,
"staff101@example.com"
,
True
)
self
.
_auto_auth
(
"STAFF_TESTER"
,
"staff101@example.com"
,
True
)
self
.
course_outline
.
visit
()
self
.
course_outline
.
visit
()
#open the exam settings to make it a proctored exam.
#
open the exam settings to make it a proctored exam.
self
.
course_outline
.
open_exam_settings_dialog
()
self
.
course_outline
.
open_exam_settings_dialog
()
self
.
course_outline
.
make_exam_timed
()
self
.
course_outline
.
make_exam_timed
()
time
.
sleep
(
2
)
# Wait for 2 seconds to save the settings.
time
.
sleep
(
2
)
# Wait for 2 seconds to save the settings.
...
@@ -222,14 +222,12 @@ class ProctoredExamsTest(BaseInstructorDashboardTest):
...
@@ -222,14 +222,12 @@ class ProctoredExamsTest(BaseInstructorDashboardTest):
# Start the proctored exam.
# Start the proctored exam.
self
.
courseware_page
.
start_timed_exam
()
self
.
courseware_page
.
start_timed_exam
()
@flaky
# TODO fix this, see SOL-1183
def
test_can_add_remove_allowance
(
self
):
def
test_can_add_remove_allowance
(
self
):
"""
"""
Make sure that allowances can be added and removed.
Make sure that allowances can be added and removed.
"""
"""
# Given that an exam has been configured to be a timed exam.
# Given that an exam has been configured to be a proctored exam.
self
.
_create_a_timed_exam_and_attempt
()
self
.
_create_a_proctored_exam_and_attempt
()
# When I log in as an instructor,
# When I log in as an instructor,
self
.
log_in_as_instructor
()
self
.
log_in_as_instructor
()
...
...
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