Added fixtures for course and xblock creation Added bok-choy Studio tests Added bok-choy tests for ora self- and ai- assessment Refactored auto-auth; added staff and course-enrollment options Removed extra javascript properties from page objects
20 lines
311 B
Python
20 lines
311 B
Python
"""
|
|
Unit page in Studio
|
|
"""
|
|
|
|
from bok_choy.page_object import PageObject
|
|
|
|
|
|
class UnitPage(PageObject):
|
|
"""
|
|
Unit page in Studio
|
|
"""
|
|
|
|
name = "studio.unit"
|
|
|
|
def url(self):
|
|
raise NotImplementedError
|
|
|
|
def is_browser_on_page(self):
|
|
return self.is_css_present('body.view-unit')
|