Adding program progress bar to program cards

This commit is contained in:
AlasdairSwan
2016-04-15 15:54:46 -04:00
parent edb356a43a
commit cdb05c26a6
14 changed files with 286 additions and 57 deletions

View File

@@ -19,4 +19,4 @@ class ProgramListingPage(PageObject):
@property
def is_sidebar_present(self):
"""Check whether sidebar is present."""
return self.q(css='.sidebar').present
return self.q(css='.sidebar').present and self.q(css='.certificates-list').present