diff --git a/Admin.php b/Admin.php index ea0bfac..9e6865a 100644 --- a/Admin.php +++ b/Admin.php @@ -55,7 +55,7 @@ if ($_SESSION['user_type'] != "Lecturer") { diff --git a/test/SeleniumIbrahim/test_kit/admin.py b/test/SeleniumIbrahim/test_kit/admin.py index cd25934..47e3e5c 100644 --- a/test/SeleniumIbrahim/test_kit/admin.py +++ b/test/SeleniumIbrahim/test_kit/admin.py @@ -144,7 +144,7 @@ class Admin(Actor): #Navigate to "Exisitin Accounts" table wait2 = WebDriverWait(driver, 10) - exist_acc_tab = wait2.until(EC.presence_of_element_located((By.ID, "ex_acc"))) + exist_acc_tab = wait2.until(EC.presence_of_element_located((By.ID, "existing_accounts_tab"))) exist_acc_tab.click() #Alternate between block and activate @@ -211,4 +211,4 @@ class Admin(Actor): self.utility.log_error(err_msg) print("Treminating session") self.utility.killSession(driver) - return 1 \ No newline at end of file + return 1