def test_stationAdminCanModifyStationModule(self): new_subhead = RandomGenerators().generateRandomString(10) self.login_to_cms_via_uua(email, password) dashboard = DashboardPageCMS(self.driver, self.wait) module = dashboard.clickModifyStationModule() module.clickEndOnTodayLink() module.typeSubhead(0, new_subhead) module.clickSave() self.driver.get(self.getAddressWithSubdomain("aetn")) ssHomePage = HomePageSS(self.driver, self.wait) ssHomePage.getContentFragmentContent() self.assertTrue(new_subhead in ssHomePage.getContentFragmentContent(), "Content fragment body not updated")