コード例 #1
0
 def test_loggedinAsOrganizationAdminValidateUserReportForm(self):
     self.login_to_cms_via_uua(orgAdminEmail, orgPass)
     userReport = UsersReportCMS(self.driver, self.wait)
     leftSidePanel = HomePageCMS(self.driver, self.wait)
     self.assertFalse(userReport.elementExistsById(userReport.organization_dropdown_id), 
                      "Organization dropdown is displayed, although it should not be.")
     self.assertEquals(userReport.getContentProjectOptions(), leftSidePanel.getContentProjectsListedInLeftSideBar(), 
                       "Content projects selectable from dropdown are not exactly the ones displayed in the left-side-bar.")