Remove flaky test_edit_raw_html.

EDUCATOR-3186
This commit is contained in:
Robert Raposa
2018-07-12 13:08:29 -04:00
parent 5244c48ed9
commit d410d6d8ff

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