Update 1: test cases 00-04 #29
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "SeleniumIbrahimUpdate-Ibrahim"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
WIP: this PR is a series of commits to update SeleniumIbrahim test scripts.
You can review the commits individually, but please do not merge them yet.
For more information see Update selenium test scripts on KanBan.
Thanks.
@Ibrahim
Thanks. Too busy these days. I will review this pull request within 24 (working) hours.
If I don't, remind me.
Hui
Great, take your time.
@ -33,3 +33,3 @@
#Locate "Admin" tab.
wait = WebDriverWait(driver, 10)
admin = wait.until(EC.presence_of_element_located((By.XPATH, "/html/body/nav/div/form/a[1]")))
admin = wait.until(EC.presence_of_element_located((By.ID, "admin_btn")))
@Ibrahim
Great. Usig By.ID is much more readable and robust.
Hui
Thanks. Could you do the following replacement? It is quite tedious. If you don't want to do that, I will do that. The purpose is to make the ID names more clear.
Nowadays, readability is more important than saving storage for a dozon of characters. Storage is cheap. Time is expensive.
Hui
Will do. All updates plus ID names replacements should be done before next class.
Thanks.
Thanks, Ibrahim. Great work.
Hui
Thank you for the merge. However, I didn't wish to merge this PR until all test scripts are updated.
@Ibrahim
Sorry, my fault. Please create a new pull request from the same branch
SeleniumIbrahimUpdate-Ibrahim
.Hui