Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
9dd604ee
Commit
9dd604ee
authored
9 years ago
by
solashirai
Committed by
solashirai
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
removed accidental addition of unneeded file
parent
38752a77
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openedx/tests/xblock_integration/crowdsourcehinter_problem.py
+0
-37
0 additions, 37 deletions
...edx/tests/xblock_integration/crowdsourcehinter_problem.py
with
0 additions
and
37 deletions
openedx/tests/xblock_integration/crowdsourcehinter_problem.py
deleted
100644 → 0
+
0
−
37
View file @
38752a77
from
bok_choy.page_object
import
PageObject
class
CrowdsourcehinterProblemPage
(
PageObject
):
url
=
None
def
is_browser_on_page
(
self
):
return
len
(
self
.
browser
.
find_elements_by_class_name
(
'
crowdsourcehinter_block
'
))
>
0
def
submit_text_answer
(
self
,
text
):
"""
Submit an answer to the problem block
"""
self
.
q
(
css
=
'
input[type=
"
text
"
]
'
).
fill
(
text
)
self
.
q
(
css
=
'
.action [data-value=
"
Check
"
]
'
).
click
()
self
.
wait_for_ajax
()
def
get_hint_text
(
self
):
"""
Return the hint shown to the student
"""
return
self
.
q
(
css
=
'
div.csh_hint_text
'
).
text
def
get_student_answer_text
(
self
):
return
self
.
q
(
css
=
'
div.csh_hint_text
'
).
attrs
(
'
student_answer
'
)
def
rate_hint
(
self
):
self
.
q
(
css
=
'
div.csh_rate_hint
'
).
click
()
self
.
wait_for_ajax
()
def
submit_new_hint
(
self
,
text
):
self
.
q
(
css
=
'
.csh_student_hint_creation input[type=
"
button
"
]
'
).
click
()
self
.
wait_for_ajax
()
self
.
q
(
css
=
'
.csh_student_text_input input[type=
"
text
"
]
'
).
fill
(
text
)
self
.
q
(
css
=
'
.csh_submit_new input[type=
"
button
"
]
'
).
click
()
self
.
wait_for_ajax
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment