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
9d874728
Commit
9d874728
authored
8 years ago
by
Muzaffar yousaf
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #13697 from edx/mzfr/flaky-bokchoy-4954
Fixing flaky test_studio_help_links
parents
da7379f9
92d50251
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/test/acceptance/pages/studio/utils.py
+11
-4
11 additions, 4 deletions
common/test/acceptance/pages/studio/utils.py
common/test/acceptance/tests/studio/test_studio_help.py
+0
-1
0 additions, 1 deletion
common/test/acceptance/tests/studio/test_studio_help.py
with
11 additions
and
5 deletions
common/test/acceptance/pages/studio/utils.py
+
11
−
4
View file @
9d874728
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
common/test/acceptance/tests/studio/test_studio_help.py
+
0
−
1
View file @
9d874728
...
...
@@ -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
)
...
...
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