Adding UXPL classnames to headings

This commit is contained in:
Chris Rodriguez
2016-02-10 08:54:31 -05:00
parent e3ddb02cc7
commit c619e1ec6b
34 changed files with 329 additions and 73 deletions

View File

@@ -44,5 +44,5 @@ class LibraryContentXBlockWrapper(PageObject):
"""
Gets headers of all child XBlocks as list of strings
"""
child_blocks_headers = self.q(css=self._bounded_selector("div[data-id] h3.problem-header"))
child_blocks_headers = self.q(css=self._bounded_selector("div[data-id] .problem-header"))
return frozenset(child.text for child in child_blocks_headers)