Merge pull request #18574 from edx/robrap/EDUCATOR-3186-remove-flaky-test

Remove flaky test_edit_raw_html.
This commit is contained in:
Feanil Patel
2018-07-12 13:47:08 -04:00
committed by GitHub

View File

@@ -213,24 +213,6 @@ class EditContainerTest(NestedVerticalTest):
container = self.go_to_nested_container_page()
self.modify_display_name_and_verify(container)
def test_edit_raw_html(self):
"""
Test the raw html editing functionality.
"""
modified_content = "<p>modified content</p>"
#navigate to and open the component for editing
unit = self.go_to_unit_page()
container = unit.xblocks[1].go_to_container()
component = container.xblocks[1].children[0]
component.edit()
html_editor = HtmlXBlockEditorView(self.browser, component.locator)
html_editor.set_content_and_save(modified_content, raw=True)
#note we're expecting the <p> tags to have been removed
self.assertEqual(component.student_content, "modified content")
class BaseGroupConfigurationsTest(ContainerBase):
ALL_LEARNERS_AND_STAFF = XBlockVisibilityEditorView.ALL_LEARNERS_AND_STAFF