Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
72af8afd
Commit
72af8afd
authored
8 years ago
by
Ben Patterson
Browse files
Options
Downloads
Patches
Plain Diff
Skip tests that are too flaky to be reliable. FEDX-88.
parent
61ef49b9
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/test/acceptance/tests/studio/test_studio_asset.py
+3
-1
3 additions, 1 deletion
common/test/acceptance/tests/studio/test_studio_asset.py
common/test/acceptance/tests/studio/test_studio_general.py
+2
-3
2 additions, 3 deletions
common/test/acceptance/tests/studio/test_studio_general.py
with
5 additions
and
4 deletions
common/test/acceptance/tests/studio/test_studio_asset.py
+
3
−
1
View file @
72af8afd
...
...
@@ -3,6 +3,7 @@ Acceptance tests for Studio related to the asset index page.
"""
from
flaky
import
flaky
from
unittest
import
skip
from
...pages.studio.asset_index
import
AssetIndexPage
...
...
@@ -11,6 +12,7 @@ from ...fixtures.base import StudioApiLoginError
from
..helpers
import
skip_if_browser
@skip
(
'
FEDX-88
'
)
class
AssetIndexTest
(
StudioCourseTest
):
"""
...
...
@@ -32,7 +34,7 @@ class AssetIndexTest(StudioCourseTest):
self
.
course_fixture
.
add_asset
([
'
image.jpg
'
,
'
textbook.pdf
'
])
@skip_if_browser
(
'
chrome
'
)
# TODO Need to fix test_page_existance for this for chrome browser
@flaky
# TODO fix this
TNL-4302
@flaky
# TODO fix this
FEDX-88
def
test_type_filter_exists
(
self
):
"""
Make sure type filter is on the page.
...
...
This diff is collapsed.
Click to expand it.
common/test/acceptance/tests/studio/test_studio_general.py
+
2
−
3
View file @
72af8afd
...
...
@@ -3,7 +3,6 @@ Acceptance tests for Studio.
"""
from
bok_choy.web_app_test
import
WebAppTest
from
flaky
import
flaky
from
...pages.studio.asset_index
import
AssetIndexPage
from
...pages.studio.auto_auth
import
AutoAuthPage
...
...
@@ -80,7 +79,8 @@ class CoursePagesTest(StudioCourseTest):
self
.
pages
=
[
clz
(
self
.
browser
,
self
.
course_info
[
'
org
'
],
self
.
course_info
[
'
number
'
],
self
.
course_info
[
'
run
'
])
for
clz
in
[
AssetIndexPage
,
CourseUpdatesPage
,
# AssetIndexPage, # TODO: Skip testing this page due to FEDX-88
CourseUpdatesPage
,
PagesPage
,
ExportCoursePage
,
ImportCoursePage
,
CourseTeamPage
,
CourseOutlinePage
,
SettingsPage
,
AdvancedSettingsPage
,
GradingPage
,
TextbooksPage
]
...
...
@@ -95,7 +95,6 @@ class CoursePagesTest(StudioCourseTest):
self
.
dashboard_page
.
visit
()
self
.
assertEqual
(
self
.
browser
.
current_url
.
strip
(
'
/
'
).
rsplit
(
'
/
'
)[
-
1
],
'
home
'
)
@flaky
# TODO: FEDX-88
def
test_page_existence
(
self
):
"""
Make sure that all these pages are accessible once you have a course.
...
...
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