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
167e4d58
Commit
167e4d58
authored
Aug 29, 2017
by
Alex Dusenbery
Committed by
Alex Dusenbery
Aug 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove flaky DragAndDropTest class.
parent
42d462a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
33 deletions
+0
-33
common/test/acceptance/tests/studio/test_studio_container.py
+0
-33
No files found.
common/test/acceptance/tests/studio/test_studio_container.py
View file @
167e4d58
...
...
@@ -73,39 +73,6 @@ class NestedVerticalTest(ContainerBase):
@attr
(
shard
=
1
)
class
DragAndDropTest
(
NestedVerticalTest
):
"""
Tests of reordering within the container page.
"""
def
drag_and_verify
(
self
,
source
,
target
,
expected_ordering
):
self
.
do_action_and_verify
(
lambda
(
container
):
drag
(
container
,
source
,
target
,
40
),
expected_ordering
)
def
test_reorder_in_group
(
self
):
"""
Drag Group A Item 2 before Group A Item 1.
"""
expected_ordering
=
[{
self
.
container_title
:
[
self
.
group_a
,
self
.
group_empty
,
self
.
group_b
]},
{
self
.
group_a
:
[
self
.
group_a_item_2
,
self
.
group_a_item_1
]},
{
self
.
group_b
:
[
self
.
group_b_item_1
,
self
.
group_b_item_2
]},
{
self
.
group_empty
:
[]}]
self
.
drag_and_verify
(
self
.
group_a_item_2_handle
,
self
.
group_a_item_1_handle
,
expected_ordering
)
def
test_drag_to_top
(
self
):
"""
Drag Group A Item 1 to top level (outside of Group A).
"""
expected_ordering
=
[{
self
.
container_title
:
[
self
.
group_a_item_1
,
self
.
group_a
,
self
.
group_empty
,
self
.
group_b
]},
{
self
.
group_a
:
[
self
.
group_a_item_2
]},
{
self
.
group_b
:
[
self
.
group_b_item_1
,
self
.
group_b_item_2
]},
{
self
.
group_empty
:
[]}]
self
.
drag_and_verify
(
self
.
group_a_item_1_handle
,
self
.
group_a_handle
,
expected_ordering
)
@attr
(
shard
=
1
)
class
AddComponentTest
(
NestedVerticalTest
):
"""
Tests of adding a component to the container page.
...
...
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