Create a test script to automate newly signup students searching for a course #32
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "AutoTesting-Golden"
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?
This pull request is for an automated test script written for bug 312. See the kanboard card for more information about the bug and how it was fixed.
I have run the test suite on my machine as well after inspection, works fine.
LGTM.
Thanks.
Thanks for the review.
@ -136,3 +136,3 @@
submit = signup_form.find_element(By.ID, "signup_btn")
submit.click()
return 0
return driver
@Golden @Ibrahim
Thanks, Golden. Will this change (i.e., from
return 0
toreturn driver
) break Ibrahim's tests?Hui
Changing the return value to driver won't break other tests. It makes the signup function a utility function that other functions can depend on (i.e. Those functions can only be executed if the signup process is successful).
@ -99,1 +98,4 @@
admin.assign_TA() == cond
def test_case_17():
@Golden
Instead of using a random string, you could use the Faker package to generate names.
Hui
I agree, Faker is better.
@Ibrahim
Thanks. Are you sure? The following change does not have any bad consequence?
Hui
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.