Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
6034df25
Commit
6034df25
authored
Jul 03, 2017
by
Albert St. Aubin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This check is no longer valid, removing it as focus is not on the header
button
parent
93e0ca47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
test/acceptance/pages.py
+0
-8
test/acceptance/tests.py
+0
-3
No files found.
test/acceptance/pages.py
View file @
6034df25
...
...
@@ -353,14 +353,6 @@ class AssessmentPage(OpenAssessmentPage, AssessmentMixin):
return
self
.
q
(
css
=
css_class
)
.
is_present
()
@property
def
is_on_top
(
self
):
# TODO: On top behavior needs to be better defined. It is defined here more accurately as "near-top".
# pos = self.browser.get_window_position()
# return pos['y'] < 100
# self.wait_for_element_visibility(".chapter.is-open", "Chapter heading is on visible", timeout=10)
return
self
.
q
(
css
=
".chapter.is-open"
)
.
visible
@property
def
response_text
(
self
):
"""
Retrieve the text of the response shown in the assessment.
...
...
test/acceptance/tests.py
View file @
6034df25
...
...
@@ -300,9 +300,6 @@ class SelfAssessmentTest(OpenAssessmentTest):
# Submit a response
self
.
do_self_assessment
()
# Check browser scrolled back to top of assessment
self
.
assertTrue
(
self
.
self_asmnt_page
.
is_on_top
)
@retry
()
@attr
(
'acceptance'
)
def
test_latex
(
self
):
...
...
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