You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2021. It is now read-only.
- To execute tests `python manage.py test`. This will run all unit-tests and
52
-
all functional-tests across all apps. To execute tests of only a particular
53
-
app, run `python manage.py test <app_name>`
54
-
- If all tests pass, `OK` will be received at the end.
55
-
- For functional tests, a firefox window for each test will open up
56
-
automatically and close after simulation of tests.
44
+
- Each test file interacts with respective page objects and reuses their methods.
45
+
To locate elements on the page both pages and tests use static locators defined in
46
+
`pom/locators` folder. `pom/pages` folder contains the pages mapping to vms.
57
47
58
-
## Tests Failing
59
-
60
-
There are 8 Failures. These are due to issue [#327](https://github.com/systers/vms/issues/327) :
61
-
62
-
- test_report_with_empty_fields
63
-
- test_job_field
64
-
- test_intersection_of_fields
65
-
- test_event_field
66
-
- test_date_field
67
-
- test_admin_cannot_access_volunteer_urls
68
-
- test_cancel_assigned_shift
69
-
- test_null_values_with_dataset
70
-
- test_check_intersection_of_fields
71
-
72
-
one error
73
-
- in test_volunteer_cannot_access_admin_urls
74
-
75
-
once [#325](https://github.com/systers/vms/issues/325) gets fixed this will automatically pass.
76
-
77
-
Note: The current setup uses one of the latest versions of Selenium. You will run into errors if the this version is incompatible with your firefox version and does not support it. In that case, follow [this](https://support.mozilla.org/en-US/kb/find-what-version-firefox-you-are-using) guide to find out your browser version and accordingly install a Selenium version compatible with it.
48
+
- To follow up changes in UI with changes in tests, the modifications need to be made only
- To execute tests `python manage.py test`. This will run all unit-tests and
13
+
all functional-tests across all apps. To execute tests of only a particular
14
+
app, run `python manage.py test <app_name>`
15
+
- If all tests pass, `OK` will be received at the end.
16
+
- For functional tests, a firefox window for each test will open up
17
+
automatically and close after simulation of tests.
18
+
19
+
Note: The current setup uses one of the latest versions of Selenium. You will run into errors if the this version is incompatible with your firefox version and does not support it. In that case, follow [this](https://support.mozilla.org/en-US/kb/find-what-version-firefox-you-are-using) guide to find out your browser version and accordingly install a Selenium version compatible with it.
0 commit comments