Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
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
OpenEdx
xblock-drag-and-drop-v2
Commits
b6e95497
Commit
b6e95497
authored
Dec 20, 2016
by
Matjaz Gregoric
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix/update tests.
parent
c44b3c2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/integration/test_interaction.py
+2
-2
No files found.
tests/integration/test_interaction.py
View file @
b6e95497
...
@@ -105,7 +105,7 @@ class ParameterizedTestsMixin(object):
...
@@ -105,7 +105,7 @@ class ParameterizedTestsMixin(object):
feedback_popup_html
=
feedback_popup_content
.
get_attribute
(
'innerHTML'
)
feedback_popup_html
=
feedback_popup_content
.
get_attribute
(
'innerHTML'
)
self
.
assertEqual
(
feedback_popup_html
,
''
)
self
.
assertEqual
(
feedback_popup_html
,
''
)
self
.
assertFalse
(
popup
.
is_displayed
())
self
.
assertFalse
(
popup
.
is_displayed
())
self
.
assertEqual
(
get_sr_texts
()
[
-
1
],
feedback
[
'intro'
])
self
.
assertEqual
(
get_sr_texts
()
,
[
])
def
parameterized_item_negative_feedback_on_bad_move_standard
(
def
parameterized_item_negative_feedback_on_bad_move_standard
(
self
,
items_map
,
all_zones
,
scroll_down
=
100
,
action_key
=
None
,
feedback
=
None
self
,
items_map
,
all_zones
,
scroll_down
=
100
,
action_key
=
None
,
feedback
=
None
...
@@ -154,7 +154,7 @@ class ParameterizedTestsMixin(object):
...
@@ -154,7 +154,7 @@ class ParameterizedTestsMixin(object):
self
.
assertEqual
(
feedback_popup_html
,
''
)
self
.
assertEqual
(
feedback_popup_html
,
''
)
self
.
assertFalse
(
popup
.
is_displayed
())
self
.
assertFalse
(
popup
.
is_displayed
())
self
.
assert_placed_item
(
definition
.
item_id
,
zone_title
,
assessment_mode
=
True
)
self
.
assert_placed_item
(
definition
.
item_id
,
zone_title
,
assessment_mode
=
True
)
self
.
assertEqual
(
get_sr_texts
()
[
-
1
],
feedback
[
'intro'
])
self
.
assertEqual
(
get_sr_texts
()
,
[
])
self
.
_test_popup_focus_and_close
(
popup
,
action_key
)
self
.
_test_popup_focus_and_close
(
popup
,
action_key
)
if
action_key
:
if
action_key
:
self
.
_test_next_tab_goes_to_go_to_beginning_button
()
self
.
_test_next_tab_goes_to_go_to_beginning_button
()
...
...
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