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
64e7c46c
Unverified
Commit
64e7c46c
authored
5 years ago
by
Jeremy Bowman
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove flaky tab reordering test (#20629)
parent
f00eb4f3
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
common/test/acceptance/tests/studio/test_studio_tabs.py
+0
-24
0 additions, 24 deletions
common/test/acceptance/tests/studio/test_studio_tabs.py
with
0 additions
and
24 deletions
common/test/acceptance/tests/studio/test_studio_tabs.py
+
0
−
24
View file @
64e7c46c
...
...
@@ -109,30 +109,6 @@ class PagesTest(StudioCourseTest):
u
'
Order should be:[
"
Empty
"
,
"
First] but getting {} from the page
'
.
format
(
static_tab_titles
)
)
def
test_user_can_reorder_builtin_tabs
(
self
):
"""
Scenario: Users can reorder built-in pages
Given I have opened the pages page in a new course
Then the built-in pages are in the default order
When I drag the first page to the last
Then the built-in pages are switched
And I reload the page
Then the built-in pages are switched
"""
default_order
=
[
'
Home
'
,
'
Course
'
,
'
Discussion
'
,
'
Wiki
'
,
'
Progress
'
]
new_order
=
[
'
Home
'
,
'
Course
'
,
'
Wiki
'
,
'
Progress
'
,
'
Discussion
'
]
self
.
assertEqual
(
self
.
pages_page
.
built_in_page_titles
,
default_order
,
'
Tabs are not in the default order
'
)
self
.
pages_page
.
drag_and_drop
(
default_tab
=
True
)
self
.
pages_page
.
wait_for
(
lambda
:
self
.
pages_page
.
built_in_page_titles
==
new_order
,
'
Tabs are in the new order
'
)
self
.
pages_page
.
refresh_and_wait_for_load
()
self
.
pages_page
.
wait_for
(
lambda
:
self
.
pages_page
.
built_in_page_titles
==
new_order
,
'
Tabs are in the new order
'
)
def
test_users_can_toggle_visibility
(
self
):
"""
Scenario: Users can toggle visibility on hideable pages
...
...
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