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
fca500fc
Commit
fca500fc
authored
Oct 19, 2015
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fixup] with the asset page object working
parent
f951e3b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
8 deletions
+1
-8
common/test/acceptance/pages/studio/asset_index.py
+1
-3
common/test/acceptance/tests/studio/test_studio_asset.py
+0
-5
No files found.
common/test/acceptance/pages/studio/asset_index.py
View file @
fca500fc
...
...
@@ -12,11 +12,9 @@ from bok_choy.javascript import wait_for_js, requirejs
@requirejs
(
'js/factories/asset_index'
)
class
AssetIndexPage
(
CoursePage
):
"""
The Files and Uploads page for a course in Studio
"""
url_path
=
"assets"
type_filter_element
=
'#js-asset-type-col'
...
...
@@ -40,7 +38,7 @@ class AssetIndexPage(CoursePage):
def
is_browser_on_page
(
self
):
return
all
([
self
.
q
(
css
=
'body.view-uploads'
)
.
present
,
self
.
q
(
css
=
'page-header'
)
.
present
,
self
.
q
(
css
=
'
.
page-header'
)
.
present
,
not
self
.
q
(
css
=
'div.ui-loading'
)
.
visible
,
])
...
...
common/test/acceptance/tests/studio/test_studio_asset.py
View file @
fca500fc
...
...
@@ -16,10 +16,6 @@ class AssetIndexTest(StudioCourseTest):
Tests for the Asset index page.
"""
def
setUp
(
self
,
is_staff
=
False
):
# TODO: visit fails under phantom.
# Probably same root cause as the flakiness.
assert
False
,
"Visiting the asset page fails in phantomjs"
super
(
AssetIndexTest
,
self
)
.
setUp
()
self
.
asset_page
=
AssetIndexPage
(
self
.
browser
,
...
...
@@ -40,7 +36,6 @@ class AssetIndexTest(StudioCourseTest):
"""
self
.
asset_page
.
visit
()
@flaky
# TODO fix this, see SOL-1160
def
test_type_filter_exists
(
self
):
"""
Make sure type filter is on the 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