Repalce ex_acc with existing_accounts_tab. Why? Less vague.
parent
6c6e60aac2
commit
93a7661103
|
@ -55,7 +55,7 @@ if ($_SESSION['user_type'] != "Lecturer") {
|
|||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-toggle="tab" href="#menu1" id="ex_acc">Existing Accounts</a>
|
||||
<a class="nav-link" data-toggle="tab" href="#menu1" id="existing_accounts_tab">Existing Accounts</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue