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
5b2b7be2
Commit
5b2b7be2
authored
9 years ago
by
Matt Drayer
Browse files
Options
Downloads
Plain Diff
Merge pull request #9694 from edx/saleem-latif/SOL-449
SOL-449: Flaky Milestones acceptance test
parents
6454ffc3
c8dc10b2
No related branches found
Branches containing commit
Tags
release-2021-05-19-17.13
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/test/acceptance/pages/studio/settings.py
+10
-0
10 additions, 0 deletions
common/test/acceptance/pages/studio/settings.py
common/test/acceptance/tests/studio/test_studio_settings_details.py
+0
-1
0 additions, 1 deletion
...t/acceptance/tests/studio/test_studio_settings_details.py
with
10 additions
and
1 deletion
common/test/acceptance/pages/studio/settings.py
+
10
−
0
View file @
5b2b7be2
...
...
@@ -4,11 +4,13 @@ Course Schedule and Details Settings page.
"""
from
__future__
import
unicode_literals
from
bok_choy.promise
import
EmptyPromise
from
bok_choy.javascript
import
requirejs
from
.course_page
import
CoursePage
from
.utils
import
press_the_notification_button
@requirejs
(
'
js/factories/settings
'
)
class
SettingsPage
(
CoursePage
):
"""
Course Schedule and Details Settings page.
...
...
@@ -22,6 +24,13 @@ class SettingsPage(CoursePage):
def
is_browser_on_page
(
self
):
return
self
.
q
(
css
=
'
body.view-settings
'
).
present
def
wait_for_require_js
(
self
):
"""
Wait for require-js to load javascript files.
"""
if
hasattr
(
self
,
'
wait_for_js
'
):
self
.
wait_for_js
()
# pylint: disable=no-member
def
refresh_and_wait_for_load
(
self
):
"""
Refresh the page and wait for all resources to load.
...
...
@@ -182,4 +191,5 @@ class SettingsPage(CoursePage):
lambda
:
self
.
q
(
css
=
'
body.view-settings
'
).
present
,
'
Page is refreshed
'
).
fulfill
()
self
.
wait_for_require_js
()
self
.
wait_for_ajax
()
This diff is collapsed.
Click to expand it.
common/test/acceptance/tests/studio/test_studio_settings_details.py
+
0
−
1
View file @
5b2b7be2
...
...
@@ -40,7 +40,6 @@ class SettingsMilestonesTest(StudioCourseTest):
self
.
assertTrue
(
self
.
settings_detail
.
pre_requisite_course_options
)
@skip
# TODO: fix this. SOL-449
def
test_prerequisite_course_save_successfully
(
self
):
"""
Scenario: Selecting course from Pre-Requisite course drop down save the selected course as pre-requisite
...
...
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