lp:~olga-maciaszek/systers/automated_tests

Created by Olga Maciaszek-Sharma and last modified
Get this branch:
bzr branch lp:~olga-maciaszek/systers/automated_tests
Only Olga Maciaszek-Sharma can upload to this branch. If you are Olga Maciaszek-Sharma please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Olga Maciaszek-Sharma
Project:
Systers-mailman
Status:
Development

Recent revisions

25. By Olga Maciaszek-Sharma

I have added new adm test suite that contains regression tests for the Administration features implemented by Julia Proft during GSOC2013.

I have added additional database_checks and helper_methods functions to support those tests.

I have added some additional code in previously implemented methods from the at test suite in order to make it compatible with Julia's changes.

24. By Olga Maciaszek-Sharma

I have added st9.py to the stats suite. It tests the statistics feature for threads and posts and saving correct dates to the message and thread tables.

I have implemented changes after code review:
 - I have corrected some misspellings;
 - I have added display_subscriber_stats() and display_unsubscriber_stats() functions to helper_methods.py. I now call them in a number of stats tests, which allows me to avoid having same script code in many places;
 - In st6, I have placed the line responsible for content input outside the loop in order to avoid performance issues;
 - I have added some more Waits to make sure there will be no random webdriver error like the ones found previously.

23. By Olga Maciaszek-Sharma

I have finished debugging st7.py - seems to work right now.

I have also corrected some script names to maintain coherence.

22. By Olga Maciaszek-Sharma

I have removed breaklines from URLs.

21. By Olga Maciaszek-Sharma

I have added setup_stats.py, run_all_stats.py, stats_test_suite.py and an auxiliary function in helper_methods.py.
Now we have a comprehensive stats test suite with environment setup and cleanup included.

20. By Olga Maciaszek-Sharma

I have added st8.py that contains the tests fir Subscriber database entries and GUI stats for
    users subscribed and unsubscribed via member management page, member options page or disabling emails.
I have added a new database_checks function to support this test.

19. By Olga Maciaszek-Sharma

I have added the st7 test case that tests Subscriber database entries and GUI stats for
 users subscribed and unsubscribed via email or web confirmation.

I have added the st6 test case that tests Subscriber adatabase entries and GUI stats for
 users subscribed and unsubscribed via mass un/subscription or admin confirmation.

I have added additionala functions to database_checks to support those test scripts and I have added functions that use imaplib to retrieve confirmation scripts from incoming mail to helper_methods.py.

18. By Olga Maciaszek-Sharma

I have added st5.py that contains test scripts that verify that a correct error message is displayed when the stats reports are being accessed in a non-dynamic list.

I have also worked on making the at test suite compatible with the changes done in the database for the stats features:

- I have added def verify_subscriber_added_alternative(subscriber_email) function that should be called in at1 instead of def verify_subscriber_added(subscriber_email) if stats code is merged into production. I have also added appropriate comment in the at1 test case;

- I have modified the get_message_info(database_name, message_id), verify_message_added_to_database(database_name, subscriber_email, message_subject, message_id) and verify_message_added_to_thread(database_name, subscriber_email, message_subject, message_id, expected_thread_id) functions - now the at6 test case will work on a setup both with and without the stats code.

17. By Olga Maciaszek-Sharma

I have added the stats folder for automated tests of statistics feature added by Ioana Croitoru. I have added the first series of scripts for that feature in files st1.py, st2.py, st3.py, st4.py. I have added two new auxiliary functions to helper_methods.py.

16. By Olga Maciaszek-Sharma

Removed unnecessary comment.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.