Update 1: test cases 00-04 #29

Merged
mrlan merged 4 commits from SeleniumIbrahimUpdate-Ibrahim into master 2021-12-03 11:09:37 +08:00

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.

WIP: this PR is a series of commits to update [SeleniumIbrahim](http://121.4.94.30:3000/mrlan/LRR/src/branch/master/test/SeleniumIbrahim/test_kit) test scripts. You can review the commits individually, but please do not merge them yet. For more information see [Update selenium test scripts](http://118.25.96.118/kanboard/?controller=TaskViewController&action=show&task_id=1575&project_id=170) on KanBan. Thanks.
Ibrahim self-assigned this 2021-11-27 23:18:12 +08:00
mrlan was assigned by Ibrahim 2021-11-27 23:18:12 +08:00
Ibrahim added 1 commit 2021-11-27 23:18:13 +08:00

@Ibrahim

Thanks. Too busy these days. I will review this pull request within 24 (working) hours.
If I don't, remind me.

Hui

@Ibrahim Thanks. Too busy these days. I will review this pull request within 24 (working) hours. If I don't, remind me. Hui

@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.

> @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.
Ibrahim added 1 commit 2021-11-29 02:20:37 +08:00
mrlan reviewed 2021-11-30 21:37:53 +08:00
@ -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

@Ibrahim Great. Usig By.ID is much more readable and robust. Hui
mrlan reviewed 2021-11-30 21:41:22 +08:00
mrlan added 1 commit 2021-11-30 21:50:19 +08:00

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.

  • Replace signup_btn with signup_link
  • Replace sign_btn with signup_btn
  • Replace acc with account
  • Replace frm with form
  • Replace rad with role
  • Replace reg with register
  • Replace inst with instructor
  • Replace ind with individual
  • Replace grp with group
  • Replace cname with course_name
  • Replace ccode with course_code
  • Replace ayear with academic_year
  • Replace fac with faculty
  • Repalce jno with join_no
  • Replace jyes with join_yes
  • Replace std_id with student_id

Nowadays, readability is more important than saving storage for a dozon of characters. Storage is cheap. Time is expensive.

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. - Replace signup_btn with signup_link - Replace sign_btn with signup_btn - Replace acc with account - Replace frm with form - Replace rad with role - Replace reg with register - Replace inst with instructor - Replace ind with individual - Replace grp with group - Replace cname with course_name - Replace ccode with course_code - Replace ayear with academic_year - Replace fac with faculty - Repalce jno with join_no - Replace jyes with join_yes - Replace std_id with student_id Nowadays, readability is more important than saving storage for a dozon of characters. Storage is cheap. Time is expensive. 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.

  • Replace signup_btn with signup_link
  • Replace sign_btn with signup_btn
  • Replace acc with account
  • Replace frm with form
  • Replace rad with role
  • Replace reg with register
  • Replace inst with instructor
  • Replace ind with individual
  • Replace grp with group
  • Replace cname with course_name
  • Replace ccode with course_code
  • Replace ayear with academic_year
  • Replace fac with faculty
  • Repalce jno with join_no
  • Replace jyes with join_yes
  • Replace std_id with student_id

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. 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. > > > - Replace signup_btn with signup_link > - Replace sign_btn with signup_btn > - Replace acc with account > - Replace frm with form > - Replace rad with role > - Replace reg with register > - Replace inst with instructor > - Replace ind with individual > - Replace grp with group > - Replace cname with course_name > - Replace ccode with course_code > - Replace ayear with academic_year > - Replace fac with faculty > - Repalce jno with join_no > - Replace jyes with join_yes > - Replace std_id with student_id > > 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.
Ibrahim added 1 commit 2021-12-03 10:58:35 +08:00

Thanks, Ibrahim. Great work.

Hui

Thanks, Ibrahim. Great work. Hui
mrlan merged commit f4ffcdd47b into master 2021-12-03 11:09:37 +08:00

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.

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.

> 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. > 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.

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.

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

Sorry, my fault. Please create a new pull request from the same branch SeleniumIbrahimUpdate-Ibrahim.

Hui

> > 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. > > 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 Sorry, my fault. Please create a new pull request from the same branch `SeleniumIbrahimUpdate-Ibrahim`. Hui
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrlan/LRR#29
There is no content yet.