Commit Graph

309 Commits

Author SHA1 Message Date
cesar991 a57436a3cb Add stop_downtime function 2016-07-27 12:48:18 +02:00
cesar991 4081f8edc4 Add search_planne_downtime function 2016-07-27 12:32:43 +02:00
cesar991 d01c96ce6f Add delete_user function in user_functions 2016-07-27 11:33:04 +02:00
cesar991 7dec72620d Add add_collectio_to_policy function 2016-07-27 10:23:54 +02:00
cesar991 caa3516234 Repair errors in create_planned_downtime function 2016-07-26 16:35:45 +02:00
cesar991 cf006862c6 create planned_downtime_functions.py and add create_planned_downtime function 2016-07-26 16:29:19 +02:00
cesar991 68d480dee3 Repair errors and add edit_service function 2016-07-26 11:41:02 +02:00
cesar991 e32cbc2282 Delete search_service function 2016-07-26 10:00:17 +02:00
cesar991 9d5edfdefa Add search_service function in service_functions 2016-07-26 09:57:53 +02:00
Ramon Novoa 1c6a20d650 Fixed an import.
(cherry picked from commit b6af4629d0)
2016-07-22 14:28:19 +02:00
Ramon Novoa e31dacb6d7 Disabled ENT_PAN11. 2016-07-22 13:37:08 +02:00
cesar991 2065fe76e9 Add create_function import in policy_functions 2016-07-21 15:40:08 +02:00
cesar991 2720465416 Comment test ENT_PAN10 by failing 2016-07-21 12:43:24 +02:00
cesar991 f26a89aa12 Added create, search and delete service funtions and add service_functions.py 2016-07-20 16:26:01 +02:00
cesar991 dda6e98dc6 Add ENT_PAN11. Collection tests 2016-07-20 16:03:52 +02:00
cesar991 8e1735ec7e Add check taht exists any collection in create_collection functions 2016-07-20 15:36:20 +02:00
cesar991 1e91706ec1 Repair error variable new_name in edit_collection function 2016-07-20 15:20:32 +02:00
cesar991 de9d88f6fd Added search_policy and add_module_policy functions in policy_functions.py 2016-07-20 13:45:51 +02:00
cesar991 75fda5ef04 Add recreate_collection function in collection_function.py 2016-07-20 11:52:52 +02:00
cesar991 a7cab9562d Added create_directoy and create_text functions in collection_functions.py 2016-07-20 11:33:26 +02:00
axl89 05e358373e Fixed Enterprise tests 2016-07-19 17:23:04 +02:00
cesar991 2f5fadf5a3 Fixed enterprise tests 2016-07-19 17:01:27 +02:00
cesar991 e7ef4255db Moar cleaning on the tests directory 2016-07-19 16:44:30 +02:00
cesar991 799a2f4d49 Cleaned the tests directory 2016-07-19 16:39:53 +02:00
cesar991 4e90ba33a8 Add PAN10, policy test 2016-07-19 16:34:58 +02:00
axl89 cfe6aca831 Merge branch 'develop' of brutus.artica.lan:artica/pandorafms into develop 2016-07-19 16:29:30 +02:00
axl89 59c3d21a2b Added Enterprise test capabilities 2016-07-19 16:29:10 +02:00
cesar991 66c6870e01 Repair assert in PAN4 2016-07-19 16:21:42 +02:00
cesar991 7fcd8317e7 Add edit_collection function 2016-07-19 15:54:23 +02:00
cesar991 7744d5f052 Change imports in collection_functions 2016-07-19 15:24:20 +02:00
cesar991 4c79a2a6b7 Create collection_functions and added create_collection, search_collection and delete_collection functions 2016-07-19 14:58:48 +02:00
cesar991 44191d8684 Repair error in test PAN4 and PAN9 2016-07-19 13:31:41 +02:00
cesar991 c90f8fe253 Repair errors in PAN4 and PAN9 2016-07-19 13:30:13 +02:00
cesar991 70557ff2c5 Repair errors in PAN4, PAN5 and PAN9 2016-07-19 12:55:15 +02:00
cesar991 f1aceec1c8 Added missed import 2016-07-19 12:12:31 +02:00
cesar991 573bc65905 Change asserts in PAN9 2016-07-19 11:21:55 +02:00
cesar991 ef1ae5be60 Change asserts in PAN4, PAN5 and PAN7 2016-07-19 10:39:07 +02:00
cesar991 de1b88f5f1 Refactorized create_module function 2016-07-15 13:59:51 +02:00
cesar991 3454d327e3 Repair error in create_policy function 2016-07-15 11:19:31 +02:00
cesar991 6e023af9d6 Added policy_functions and create_policy function 2016-07-15 11:11:23 +02:00
axl89 0319dc1be2 Added print in login and logout to prevent TRAVIS timeouts
(cherry picked from commit c43125a5db)
2016-07-15 10:52:33 +02:00
cesar991 880b420478 Add new test PAN9.py 2016-07-14 15:56:45 +02:00
cesar991 17600619e9 Add parameter got_to_agent in search_agent function 2016-07-14 15:54:15 +02:00
cesar991 0e93fed7ff Repair error in select group in create_agent function 2016-07-14 15:34:53 +02:00
cesar991 e8880389d1 Add create_agent_group function in agent_functions.py 2016-07-14 13:25:14 +02:00
Axel 4cf0693cfd Update PAN8.py 2016-07-14 12:10:04 +02:00
cesar991 b3bd8a95c4 Merge branch 'develop' of github.com:pandorafms/pandorafms into develop
Conflicts:
	tests/console/PAN8.py
2016-07-14 12:07:19 +02:00
cesar991 df0732616e Add time sleep in PAN8.py 2016-07-14 11:28:44 +02:00
axl89 6398287b7e Merge branch 'develop' of https://github.com/pandorafms/pandorafms into develop 2016-07-14 11:22:12 +02:00
axl89 15e4f6bb27 Fixed PAN8 failing sometimes in the assert 2016-07-14 11:21:38 +02:00
cesar991 00752bd406 Delete get_acl_dict function 2016-07-14 11:17:37 +02:00
cesar991 b04e67e34f Add create_user_profile functions in user_functions.py 2016-07-14 11:13:53 +02:00
cesar991 158e4da8ed Add create_data_server_module function 2016-07-13 13:23:03 +02:00
axl89 2b5e5dbc75 Fixed test PAN_8 and add_user_profile function 2016-07-13 11:47:35 +02:00
cesar991 bf320d30b7 Repair error in create_network_server_module function 2016-07-13 11:09:19 +02:00
cesar991 f9b241745c Add new test PAN8.py 2016-07-13 10:24:08 +02:00
cesar991 762ea67a68 Repair create_network_server_module to choose module_name 2016-07-13 10:16:15 +02:00
cesar991 05ff5dae50 Add changes to create_network_server_module function 2016-07-12 15:39:03 +02:00
cesar991 79f49f1b2e Added create_network_server_module, search_module and delete_module functions 2016-07-12 15:18:29 +02:00
cesar991 3fb09de6a2 Change the call to the create_user function 2016-07-12 15:16:17 +02:00
cesar991 9db4fda87d Modify create_user and add_user_profile functions 2016-07-12 15:14:19 +02:00
cesar991 f3da8d34b3 Extend create_user function 2016-07-12 10:11:43 +02:00
axl89 a01946d285 Added capabilities to run Enterprise tests under the tests/console/enterprise directory 2016-07-12 09:35:02 +02:00
cesar991 8c0d15bdc1 Add from common_functions_60 import * in new file 2016-07-11 15:33:50 +02:00
cesar991 49941285ca Add activate_home_screen and is_element_present functions 2016-07-11 14:37:01 +02:00
cesar991 f06fb0f8b0 Merge branch 'develop' of github.com:pandorafms/pandorafms into develop 2016-07-11 14:36:05 +02:00
cesar991 a1067c1be6 Add is_element_present and activate_home_screen functions 2016-07-11 14:31:16 +02:00
Axel 5ef9219e3c Update run_console_tests.py
Fixed exception in lines 24 and 31 when the Exception object does not contain a sauce_labs_job_id property
2016-07-11 14:30:37 +02:00
cesar991 c4e3d546da Delete function 2016-07-11 13:49:49 +02:00
cesar991 cf6ec9c357 Include new imports in PAN5.py 2016-07-11 13:46:49 +02:00
cesar991 d68a1664c0 Import user_functions and reports_functions in PAN4.py 2016-07-11 13:42:34 +02:00
cesar991 49d80b8546 Import agent_functions in PAN3.py 2016-07-11 13:37:10 +02:00
cesar991 2d1a873605 Import agent_functions in PAN2.py 2016-07-11 13:35:07 +02:00
cesar991 9f46f2c9bc Correct errors 2016-07-11 13:28:04 +02:00
cesar991 16bc6ce643 Add dashboard_functions.py 2016-07-11 13:21:21 +02:00
cesar991 7d4e976623 Add agent_functions.py 2016-07-11 13:19:34 +02:00
cesar991 cf97a5eaf7 Add user_functions.py 2016-07-11 13:17:26 +02:00
cesar991 8f417b9d4a Add reports_functions.py 2016-07-11 13:13:37 +02:00
cesar991 67ef1dc186 Add PAN7.py 2016-07-11 13:06:23 +02:00
cesar991 481d754017 Add activate_home_screen function 2016-07-08 12:29:45 +02:00
cesar991 24d0c2806b Expand function create_report 2016-07-07 11:08:53 +02:00
cesar991 ab212422c1 Add edit_dashboard function 2016-07-06 12:56:11 +02:00
cesar991 31e1822411 Add delete_dashboard function 2016-07-06 11:37:15 +02:00
cesar991 cba1f7c0cd Add create_new_dashboard function 2016-07-06 11:16:42 +02:00
cesar991 740915f2f9 Add create_agent function in PAN3.py 2016-07-05 12:52:01 +02:00
cesar991 668a72e1e7 Change login function in PAN1.py and in PAN3.py 2016-07-05 12:37:21 +02:00
cesar991 879d51740b Add function create_agent in PAN2.py 2016-07-05 12:17:21 +02:00
cesar991 85aae1f521 Repair PAN5.py 2016-07-05 12:01:20 +02:00
cesar991 e21314992d Add create_agent function in PAN5.py 2016-07-05 11:59:53 +02:00
cesar991 ecb1146701 Correct create_agent function 2016-07-05 11:49:25 +02:00
cesar991 487d36936e Complete function create_agent 2016-07-05 10:55:56 +02:00
cesar991 af53a72051 orrect error in PAN5.py 2016-07-05 10:41:22 +02:00
axl89 aaf4bff117 Added 10s delay to check events 2016-07-04 18:35:13 +02:00
axl89 6c4b99d68a Finally fixed PAN5 (I will see you in hell, XPath) 2016-07-04 18:13:56 +02:00
cesar991 b33a61386e Fixed PAN5 again 2016-07-04 16:51:26 +02:00
cesar991 38c6212a28 Fixed PAN5 2016-07-04 16:45:21 +02:00
cesar991 c5dc5dc9b2 Added PAN5 2016-07-04 16:20:47 +02:00
cesar991 b33fce3215 Add function create agent 2016-07-04 13:43:07 +02:00
cesar991 c988138a1c Add function search agent 2016-07-04 13:40:48 +02:00
axl89 a690e70cdb Fixed PAN4 indentation and optimized is_element_present function 2016-06-20 18:36:48 +02:00
cesar991 3e46dcd52f Add function for delete report 2016-06-20 17:13:01 +02:00
cesar991 20849ff0ff Add functions for delete reports 2016-06-20 17:00:46 +02:00
cesar991 f31415ef7f Add function delete_report 2016-06-20 16:35:15 +02:00
cesar991 e627b4a376 Add function search user 2016-06-20 13:21:12 +02:00
cesar991 189f5e416e Tabbed repair 2016-06-20 11:46:25 +02:00
cesar991 fa98beef9b Add function delete_agent 2016-06-20 11:43:35 +02:00
cesar991 32b665c8fa Correct errors when renaming reports 2016-06-20 08:54:57 +02:00
cesar991 1600b2a28a Rename reports 2016-06-20 08:52:16 +02:00
Axel 3948a0fd80 Update PAN4.py
Modified the test name
2016-06-17 16:43:48 +02:00
cesar991 137b42eb27 Modified user name to PAN_4 to not colide with other tests 2016-06-17 14:02:06 +02:00
cesar991 30e6d0f00d Fixed logout 2016-06-17 13:47:03 +02:00
cesar991 f2cc6a9099 Fixed create_user function and test PAN4 is completed
(cherry picked from commit db89ef2861)
2016-06-17 12:21:25 +02:00
cesar991 f5874b22e3 Added create report, add profile and modified create user functions
(cherry picked from commit c4888bf6c2)
2016-06-17 11:40:17 +02:00
axl89 dfac3cfc0f Added behaviour to pass the wizards 2016-06-15 11:11:08 +02:00
cesar991 72c94b8891 added create_user function 2016-06-13 17:26:11 +02:00
axl89 905963fda1 Added os library 2016-06-03 17:02:22 +02:00
axl89 1ddc7e8015 Fixed error when DEVELOPMENT env var is not set 2016-06-03 16:58:20 +02:00
axl89 2005bd8f77 Fixed a typo 2016-06-03 16:46:16 +02:00
axl89 c85d12f264 Created a utils directory with some arrangements 2016-06-03 16:40:58 +02:00
axl89 19326772cd Added more testing utilities 2016-06-03 16:37:03 +02:00
axl89 65dbbd5498 Added test development features 2016-06-03 16:26:37 +02:00
Axel 6168527165 Removed unnecessary call
refresh_N_times_until_find_element was called twice and was unnecessary in line 43
2016-05-28 12:51:11 +02:00
Axel c726331fc4 Undo the sys.exit 2016-05-27 21:34:36 +02:00
axl89 3a270fd7b8 Missed quotes! 2016-05-27 19:21:54 +02:00
axl89 099b75e0b9 Improved compatibility with Gitlab + reduce refresh time to 5 seconds instead of 10 2016-05-27 19:09:26 +02:00
axl89 612ad6ea70 Changed workflow on Sauce Lab jobs annotations. Now they are performend when all the tests end 2016-05-27 18:26:47 +02:00
axl89 53b9fa8762 Fixed infinite loop in assertion 2016-05-27 10:45:49 +02:00
axl89 3f31d27b9d Fixed PAN3 syntax error 2016-05-27 10:21:16 +02:00
axl89 10f941e1e4 Revert "Revert "Temporary workaround to StaleElementReferenceException in PAN3""
This reverts commit 60278d03f0.
2016-05-27 10:20:03 +02:00
axl89 60278d03f0 Revert "Temporary workaround to StaleElementReferenceException in PAN3"
This reverts commit f604598c80.
2016-05-27 02:54:40 +02:00
axl89 f604598c80 Temporary workaround to StaleElementReferenceException in PAN3 2016-05-27 02:37:30 +02:00
axl89 12eeace7d5 Working on mysterious bugs on PAN2 2016-05-27 01:55:52 +02:00
axl89 5aa6e742bf Fixed some weird StaleElementException error 2016-05-27 01:01:59 +02:00
axl89 9de246554d Added several functions and refactorized all console CI tests 2016-05-26 22:31:00 +02:00
axl89 221d0acaa0 Added PAN_3 console CI test 2016-05-26 22:02:45 +02:00
axl89 2bbef62d6b Increase verbosity for those strange build fails in PAN_2 2016-05-26 15:37:31 +02:00
axl89 79219cfc9f Fixed Sauce Labs integration 2016-05-25 16:38:10 +02:00
axl89 35f937a630 Fixed using self outside class 2016-05-25 15:50:35 +02:00
axl89 7d064bbf44 Improved the integration with Sauce Labs 2016-05-25 15:39:51 +02:00
axl89 1590ffcfb0 Fixed login twice in test PAN_2 2016-05-24 19:33:41 +02:00
axl89 9a0f13a2b4 Added test PAN_2 2016-05-24 19:20:34 +02:00
axl89 cfa68b55a9 Adding expose ports to the Docker container 2016-05-24 13:46:44 +02:00
axl89 b2488d858b Trying Sauce Labs 2016-05-24 13:36:15 +02:00
Axel 34e13dd348 Update install_console.py
We now click on the "remove installer file" button, and leave the console ready for CI tests
2016-05-24 11:17:20 +02:00
axl89 f3780941a1 Modified .travis.yml and test.sh to better adapt to Travis CI build workflow 2016-05-24 10:28:43 +02:00
Axel 531b7e9eb9 Update test.sh
Fixed the exit status before executing the console CI scripts
2016-05-24 00:40:02 +02:00
Axel 5fea428a87 Update Dockerfile
Added "yum clean all" instruction to make it pass on the Docker Hub (thank God for good practices at 12am!)
2016-05-24 00:23:30 +02:00
Axel 3c7486a4ed Update test.sh
Just triggering a build
2016-05-23 20:25:52 +02:00
Axel f2e840a4d5 Update test.sh 2016-05-23 20:03:17 +02:00
axl89 5d544c836c Added console CI tests and test.sh to execute them 2016-05-23 19:50:08 +02:00
Axel da10acd6c3 Update Dockerfile 2016-05-23 12:15:18 +02:00
Ramon Novoa d0f9f40b5c Revert "Temporarily disabled the Tentacle server in the testing container."
This reverts commit dae1f7b99b.
2016-05-20 12:10:40 +02:00
Ramon Novoa 665e1f89d1 Properly configure pandora_server.conf when running tests. 2016-05-20 11:59:44 +02:00
Ramon Novoa dae1f7b99b Temporarily disabled the Tentacle server in the testing container. 2016-05-20 11:42:55 +02:00
Ramon Novoa 7105d6801e Start Apache and MySQL before installing the console. 2016-05-20 10:00:54 +02:00
Ramon Novoa d02fec16ee Revert "Prevent timeouts when installing deps."
This reverts commit 931c0dea60.
2016-05-20 09:41:22 +02:00
Ramon Novoa 931c0dea60 Prevent timeouts when installing deps. 2016-05-19 17:06:33 +02:00
Ramon Novoa a802a6e90d Testing. 2016-05-19 16:42:05 +02:00
Ramon Novoa 35fcc9cd46 Playing with Travis CI. 2016-05-19 16:39:53 +02:00