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
1bd30cff
Commit
1bd30cff
authored
Feb 15, 2017
by
Stu Young
Committed by
GitHub
Feb 15, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14492 from edx/estute/mark-flaky-bokchoy-tests
Estute/mark flaky bokchoy tests
parents
38a6e8b0
cb7e260c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
+9
-2
common/test/acceptance/pages/studio/overview.py
+3
-0
common/test/acceptance/tests/lms/test_lms_courseware.py
+1
-0
common/test/acceptance/tests/lms/test_lms_edxnotes.py
+3
-0
common/test/acceptance/tests/lms/test_progress_page.py
+2
-2
No files found.
common/test/acceptance/pages/studio/overview.py
View file @
1bd30cff
...
...
@@ -5,6 +5,7 @@ import datetime
from
bok_choy.page_object
import
PageObject
from
bok_choy.promise
import
EmptyPromise
from
bok_choy.javascript
import
js_defined
,
wait_for_js
from
selenium.webdriver
import
ActionChains
from
selenium.webdriver.support.ui
import
Select
...
...
@@ -18,6 +19,7 @@ from common.test.acceptance.pages.studio.container import ContainerPage
from
common.test.acceptance.pages.studio.utils
import
set_input_value_and_save
,
set_input_value
@js_defined
(
'jQuery'
)
class
CourseOutlineItem
(
object
):
"""
A mixin class for any :class:`PageObject` shown in a course outline.
...
...
@@ -174,6 +176,7 @@ class CourseOutlineItem(object):
element
=
self
.
q
(
css
=
self
.
_bounded_selector
(
".status-grading-value"
))
# pylint: disable=no-member
return
element
.
first
.
text
[
0
]
if
element
.
present
else
None
@wait_for_js
def
publish
(
self
):
"""
Publish the unit.
...
...
common/test/acceptance/tests/lms/test_lms_courseware.py
View file @
1bd30cff
...
...
@@ -436,6 +436,7 @@ class CoursewareMultipleVerticalsTest(UniqueCourseTest, EventsTestMixin):
self
.
courseware_page
.
visit
()
self
.
course_nav
=
CourseNavPage
(
self
.
browser
)
@flaky
# TODO: fix this, see TNL-5762
def
test_navigation_buttons
(
self
):
# start in first section
self
.
assert_navigation_state
(
'Test Section 1'
,
'Test Subsection 1,1'
,
0
,
next_enabled
=
True
,
prev_enabled
=
False
)
...
...
common/test/acceptance/tests/lms/test_lms_edxnotes.py
View file @
1bd30cff
...
...
@@ -274,6 +274,7 @@ class EdxNotesDefaultInteractionsTest(EdxNotesTestMixin):
components
=
self
.
note_unit_page
.
components
self
.
assert_notes_are_removed
(
components
)
@flaky
# TODO: fix this, see TNL-6494
def
test_can_create_note_with_tags
(
self
):
"""
Scenario: a user of notes can define one with tags
...
...
@@ -1061,6 +1062,7 @@ class EdxNotesPageTest(EventsTestMixin, EdxNotesTestMixin):
self
.
assertNotIn
(
u"Search Results"
,
self
.
notes_page
.
tabs
)
self
.
assertEqual
(
len
(
self
.
notes_page
.
notes
),
5
)
@flaky
# TODO: fix this, see TNL-6493
def
test_open_note_when_accessed_from_notes_page
(
self
):
"""
Scenario: Ensure that the link to the Unit opens a note only once.
...
...
@@ -1115,6 +1117,7 @@ class EdxNotesPageTest(EventsTestMixin, EdxNotesTestMixin):
note
=
self
.
note_unit_page
.
notes
[
0
]
self
.
assertFalse
(
note
.
is_visible
)
self
.
courseware_page
.
go_to_sequential_position
(
1
)
self
.
courseware_page
.
wait_for_ajax
()
note
=
self
.
note_unit_page
.
notes
[
0
]
self
.
assertFalse
(
note
.
is_visible
)
...
...
common/test/acceptance/tests/lms/test_progress_page.py
View file @
1bd30cff
...
...
@@ -5,9 +5,9 @@ progress page.
"""
import
ddt
from
bok_choy.javascript
import
js_defined
from
contextlib
import
contextmanager
from
nose.plugins.attrib
import
attr
from
flaky
import
flaky
from
..helpers
import
(
UniqueCourseTest
,
auto_auth
,
create_multiple_choice_problem
,
create_multiple_choice_xml
,
get_modal_alert
...
...
@@ -126,7 +126,6 @@ class ProgressPageBaseTest(UniqueCourseTest):
@attr
(
shard
=
9
)
@ddt.ddt
@js_defined
(
'window.jQuery'
)
class
PersistentGradesTest
(
ProgressPageBaseTest
):
"""
Test that grades for completed assessments are persisted
...
...
@@ -228,6 +227,7 @@ class PersistentGradesTest(ProgressPageBaseTest):
_change_subsection_structure
,
_change_weight_for_problem
)
@flaky
# TODO: fix this, see TNL-6040
def
test_content_changes_do_not_change_score
(
self
,
edit
):
with
self
.
_logged_in_session
():
self
.
courseware_page
.
visit
()
...
...
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