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
92d50251
Commit
92d50251
authored
Oct 07, 2016
by
muzaffaryousaf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing flaky test_studio_help_links
TNL-4954
parent
256223d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
common/test/acceptance/pages/studio/utils.py
+11
-4
common/test/acceptance/tests/studio/test_studio_help.py
+0
-1
No files found.
common/test/acceptance/pages/studio/utils.py
View file @
92d50251
...
...
@@ -246,11 +246,18 @@ def verify_ordering(test_class, page, expected_orderings):
def
click_studio_help
(
page
):
"""Click the Studio help link in the page footer."""
page
.
q
(
css
=
'.cta-show-sock'
)
.
click
()
"""
Click the Studio help link in the page footer.
"""
help_link_selector
=
'.cta-show-sock'
# check if help link is visible
EmptyPromise
(
lambda
:
page
.
q
(
css
=
help_link_selector
)
.
visible
,
"Help link visible"
)
.
fulfill
()
page
.
q
(
css
=
help_link_selector
)
.
click
()
# check if extended support section is visible.
EmptyPromise
(
lambda
:
page
.
q
(
css
=
'.support .list-actions a'
)
.
results
[
0
]
.
text
!=
''
,
'Support section opened'
lambda
:
page
.
q
(
css
=
'.support .list-actions a'
)
.
results
[
0
]
.
text
!=
''
,
'Support section opened'
)
.
fulfill
()
...
...
common/test/acceptance/tests/studio/test_studio_help.py
View file @
92d50251
...
...
@@ -39,7 +39,6 @@ from common.test.acceptance.pages.studio.auto_auth import AutoAuthPage
class
StudioHelpTest
(
StudioCourseTest
):
"""Tests for Studio help."""
@flaky
# TODO: TNL-4954
def
test_studio_help_links
(
self
):
"""Test that the help links are present and have the correct content."""
page
=
DashboardPage
(
self
.
browser
)
...
...
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