Remove doc-ready tests, which were flaky
This commit is contained in:
@@ -41,13 +41,6 @@ class AcidView(PageObject):
|
||||
"""
|
||||
return self.test_passed('.js-init-run')
|
||||
|
||||
@property
|
||||
def doc_ready_passed(self):
|
||||
"""
|
||||
Whether the document-ready test passed in this view of the :class:`.AcidBlock`.
|
||||
"""
|
||||
return self.test_passed('.document-ready-run')
|
||||
|
||||
@property
|
||||
def child_tests_passed(self):
|
||||
"""
|
||||
|
||||
@@ -369,7 +369,6 @@ class XBlockAcidBase(UniqueCourseTest):
|
||||
|
||||
acid_block = AcidView(self.browser, '.xblock-student_view[data-block-type=acid]')
|
||||
self.assertTrue(acid_block.init_fn_passed)
|
||||
self.assertTrue(acid_block.doc_ready_passed)
|
||||
self.assertTrue(acid_block.child_tests_passed)
|
||||
self.assertTrue(acid_block.resource_url_passed)
|
||||
self.assertTrue(acid_block.scope_passed('user_state'))
|
||||
|
||||
@@ -157,7 +157,6 @@ class XBlockAcidBase(WebAppTest):
|
||||
|
||||
acid_block = AcidView(self.browser, unit.components[0].preview_selector)
|
||||
self.assertTrue(acid_block.init_fn_passed)
|
||||
self.assertTrue(acid_block.doc_ready_passed)
|
||||
self.assertTrue(acid_block.child_tests_passed)
|
||||
self.assertTrue(acid_block.resource_url_passed)
|
||||
self.assertTrue(acid_block.scope_passed('user_state'))
|
||||
@@ -177,7 +176,6 @@ class XBlockAcidBase(WebAppTest):
|
||||
|
||||
acid_block = AcidView(self.browser, unit.components[0].edit().editor_selector)
|
||||
self.assertTrue(acid_block.init_fn_passed)
|
||||
self.assertTrue(acid_block.doc_ready_passed)
|
||||
self.assertTrue(acid_block.child_tests_passed)
|
||||
self.assertTrue(acid_block.resource_url_passed)
|
||||
self.assertTrue(acid_block.scope_passed('content'))
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
-e git+https://github.com/edx/event-tracking.git@f0211d702d#egg=event-tracking
|
||||
-e git+https://github.com/edx/bok-choy.git@62de7b576a08f36cde5b030c52bccb1a2f3f8df1#egg=bok_choy
|
||||
-e git+https://github.com/edx-solutions/django-splash.git@15bf143b15714e22fc451ff1b0f8a7a2a9483172#egg=django-splash
|
||||
-e git+https://github.com/edx/acid-block.git@ce4c09615055a3cc14e39689e881c3422ff3162c#egg=acid-xblock
|
||||
-e git+https://github.com/edx/acid-block.git@bf61f0fcd5916a9236bb5681c98374a48a13a74c#egg=acid-xblock
|
||||
|
||||
Reference in New Issue
Block a user