Add a circle-R to the initial welcome message

This commit is contained in:
Ned Batchelder
2016-05-04 11:09:42 -04:00
parent 00cbc291e6
commit 16fbad3f56
2 changed files with 8 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ class IndexPage(PageObject):
Returns a browser query object representing the video modal element
"""
element = self.q(css=BANNER_SELECTOR)
return element.visible and element.text[0] == "Welcome to the Open edX platform!"
return element.visible and element.text[0].startswith("Welcome to the Open edX")
@property
def banner_element(self):