Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
Justin Potts f011928f58 Fixed Flake8 errors 2015-03-05 11:47:24 -06:00
Sasha Kruglov bbe242bbf3 test for issue #124 2013-07-19 02:59:12 +04:00
Bob Silverberg 0bca662383 Add a finalizer to automatically delete the environment, element and category created by some tests 2013-06-28 08:22:33 -04:00
Bob Silverberg fd3c3ae1d9 Use API to create suites and cases 2013-05-27 21:06:12 -04:00
Bob Silverberg 02b4a7fc99 Create suites via API 2013-04-18 17:45:41 -04:00
Bob Silverberg 3df72501fd Add a wait to address issue on CI 2013-04-14 20:23:31 -04:00
Bob Silverberg ef9d5edac0 Merge branch 'master' into element_fixture_2
Conflicts:
	conftest.py
	mocks/mock_product.py
	mocks/moztrap_api.py
	pages/base_test.py
	tests/test_homepage.py
	tests/test_run_tests_page.py
2013-04-14 11:27:49 -04:00
Bob Silverberg 964848074d Use API to create an environment and profile
Remove requirement for profile from tests that have to run tests
2013-04-14 11:17:06 -04:00
Bob Silverberg 8a2a922161 Squashed commit of the following:
commit 7cc4402c9d
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Thu Apr 11 10:02:12 2013 -0400

    Update to address @davehunt's comments:
    Remove unnecessary creating of api variable in fin()
    Remove extra line of code in MockProduct.__init__()
    Reorder function arguments to match new order for create_run() function

commit ca841e531d
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Thu Apr 11 00:44:57 2013 -0400

    Remove unused imports
    Remove nondestructive mark that is incorrect

commit d48e4fbadc
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Wed Apr 10 11:50:29 2013 -0400

    Remove the need for the api pieces to need to understand mozwebqa.credentials
    Remove all the arguments to the __init__ method of MockProduct

commit f85a1949bc
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Mon Apr 8 11:42:29 2013 -0400

    Remove profile argument from create_product API method

commit 48f6b77bef
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Mon Apr 8 11:34:42 2013 -0400

    Remove create_product from a few more tests

commit dafd9ca7b5
Merge: b7f6680 a4d2e60
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Mon Apr 8 10:53:39 2013 -0400

    Merge branch 'master' into teardown

    Conflicts:
    	tests/test_manage_suites_page.py

commit b7f66801c9
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Sun Apr 7 21:11:22 2013 -0400

    Change conftest.py to auto-create and delete products via a 'product' method
    Remove page object reference and locators from mock product
    Change API to accept just credentials and base_url
    Do not return product from create_product
    Remove create_product_via_API method and test that just tests the creation via API
    Update tests that require a product to use API for both creation and deletion
    Eliminate all code the deletes products at the end of tests

commit 9ce6ce66fd
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Sun Mar 31 22:15:47 2013 -0400

    Change _do_post return value on failure to None

commit 7c9c29e046
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Wed Mar 27 09:21:18 2013 -0400

    Update to address pull request comments:
    Move logic in api methods to _do_post and _do_delete
    Add api_key to sample credentials file
    Use username instead of name for api creds

commit a8e6d2e431
Author: Bob Silverberg <bob.silverberg@gmail.com>
Date:   Wed Mar 20 13:30:43 2013 -0400

    Moztrap automatic cleanup of products via API
2013-04-11 14:45:31 -04:00
Bob Silverberg d48e4fbadc Remove the need for the api pieces to need to understand mozwebqa.credentials
Remove all the arguments to the __init__ method of MockProduct
2013-04-10 11:50:29 -04:00
Bob Silverberg f85a1949bc Remove profile argument from create_product API method 2013-04-08 11:42:29 -04:00
Bob Silverberg b7f66801c9 Change conftest.py to auto-create and delete products via a 'product' method
Remove page object reference and locators from mock product
Change API to accept just credentials and base_url
Do not return product from create_product
Remove create_product_via_API method and test that just tests the creation via API
Update tests that require a product to use API for both creation and deletion
Eliminate all code the deletes products at the end of tests
2013-04-08 10:33:03 -04:00
Bob Silverberg 9ce6ce66fd Change _do_post return value on failure to None 2013-03-31 22:15:47 -04:00
Bob Silverberg 7c9c29e046 Update to address pull request comments:
Move logic in api methods to _do_post and _do_delete
Add api_key to sample credentials file
Use username instead of name for api creds
2013-03-27 09:21:18 -04:00
Bob Silverberg a8e6d2e431 Moztrap automatic cleanup of products via API 2013-03-26 11:49:09 -04:00
Zac 1139999d4a Add mock objects for future use. 2012-05-03 13:16:55 +01:00