Upgrading Font Awesome vendor files from 3.2.1 to 4.2.0
* updating vendor files * updating class syntax (to new FA-based classes) for all UI elements * correcting broken tests
This commit is contained in:
@@ -170,7 +170,10 @@ class ContainerPage(PageObject):
|
||||
@property
|
||||
def is_staff_locked(self):
|
||||
""" Returns True if staff lock is currently enabled, False otherwise """
|
||||
return 'icon-check' in self.q(css='a.action-staff-lock>i').attrs('class')
|
||||
for attr in self.q(css='a.action-staff-lock>i').attrs('class'):
|
||||
if 'fa-check-square-o' in attr:
|
||||
return True
|
||||
return False
|
||||
|
||||
def toggle_staff_lock(self, inherits_staff_lock=False):
|
||||
"""
|
||||
|
||||
@@ -495,7 +495,7 @@ class CourseOutlinePage(CoursePage, CourseOutlineContainer):
|
||||
"""
|
||||
element_css = self.BOTTOM_ADD_SECTION_BUTTON
|
||||
if click_child_icon:
|
||||
element_css += " .icon-plus"
|
||||
element_css += " .fa-plus"
|
||||
|
||||
click_css(self, element_css)
|
||||
|
||||
|
||||
@@ -221,11 +221,11 @@ class GroupConfiguration(object):
|
||||
|
||||
@property
|
||||
def details_error_icon_is_present(self):
|
||||
return self.find_css('.wrapper-group-configuration-usages .icon-exclamation-sign').present
|
||||
return self.find_css('.wrapper-group-configuration-usages .fa-exclamation-circle').present
|
||||
|
||||
@property
|
||||
def details_warning_icon_is_present(self):
|
||||
return self.find_css('.wrapper-group-configuration-usages .icon-warning-sign').present
|
||||
return self.find_css('.wrapper-group-configuration-usages .fa-warning').present
|
||||
|
||||
@property
|
||||
def details_message_is_present(self):
|
||||
@@ -237,7 +237,7 @@ class GroupConfiguration(object):
|
||||
|
||||
@property
|
||||
def edit_warning_icon_is_present(self):
|
||||
return self.find_css('.wrapper-group-configuration-validation .icon-warning-sign').present
|
||||
return self.find_css('.wrapper-group-configuration-validation .fa-warning').present
|
||||
|
||||
@property
|
||||
def edit_warning_message_is_present(self):
|
||||
|
||||
Reference in New Issue
Block a user