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
ad5cec10
Commit
ad5cec10
authored
Mar 03, 2016
by
raeeschachar
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11598 from edx/raees/chrome-added-flaky-tests
Added Flaky decorator to Chrome flaky tests
parents
11024126
010fb68e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
common/test/acceptance/tests/studio/test_studio_asset.py
+3
-7
common/test/acceptance/tests/studio/test_studio_settings_certificates.py
+2
-0
No files found.
common/test/acceptance/tests/studio/test_studio_asset.py
View file @
ad5cec10
...
...
@@ -5,6 +5,7 @@ from ...pages.studio.asset_index import AssetIndexPage
from
.base_studio_test
import
StudioCourseTest
from
...fixtures.base
import
StudioApiLoginError
from
..helpers
import
skip_if_browser
class
AssetIndexTest
(
StudioCourseTest
):
...
...
@@ -12,7 +13,6 @@ class AssetIndexTest(StudioCourseTest):
"""
Tests for the Asset index page.
"""
def
setUp
(
self
,
is_staff
=
False
):
super
(
AssetIndexTest
,
self
)
.
setUp
()
self
.
asset_page
=
AssetIndexPage
(
...
...
@@ -28,12 +28,7 @@ class AssetIndexTest(StudioCourseTest):
"""
self
.
course_fixture
.
add_asset
([
'image.jpg'
,
'textbook.pdf'
])
def
test_page_existence
(
self
):
"""
Make sure that the page is accessible.
"""
self
.
asset_page
.
visit
()
@skip_if_browser
(
'chrome'
)
# TODO Need to fix test_page_existance for this for chrome browser
def
test_type_filter_exists
(
self
):
"""
Make sure type filter is on the page.
...
...
@@ -41,6 +36,7 @@ class AssetIndexTest(StudioCourseTest):
self
.
asset_page
.
visit
()
assert
self
.
asset_page
.
type_filter_on_page
()
is
True
@skip_if_browser
(
'chrome'
)
# TODO Need to fix test_page_existance for this for chrome browser
def
test_filter_results
(
self
):
"""
Make sure type filter actually filters the results.
...
...
common/test/acceptance/tests/studio/test_studio_settings_certificates.py
View file @
ad5cec10
...
...
@@ -10,6 +10,7 @@ from .base_studio_test import StudioCourseTest
from
...pages.lms.create_mode
import
ModeCreationPage
from
...pages.studio.settings_certificates
import
CertificatesPage
from
...pages.studio.settings_advanced
import
AdvancedSettingsPage
from
..helpers
import
skip_if_browser
@attr
(
'shard_8'
)
...
...
@@ -160,6 +161,7 @@ class CertificatesTest(StudioCourseTest):
self
.
certificates_page
.
visit
()
self
.
assertEqual
(
len
(
self
.
certificates_page
.
certificates
),
0
)
@skip_if_browser
(
'chrome'
)
# TODO Need to fix this for chrome browser
def
test_can_create_and_edit_signatories_of_certficate
(
self
):
"""
Scenario: Ensure that the certificates can be created with signatories and edited correctly.
...
...
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