2015-11-27 09:50:37 +00:00
|
|
|
#!/bin/bash
|
|
|
|
LEVEL=$1
|
|
|
|
|
|
|
|
if [ "$LEVEL" == '1' ]; then
|
|
|
|
echo "slicing level 1"
|
|
|
|
|
|
|
|
# no ticket action
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/aab_basic_urls_test.rb
|
|
|
|
# test/browser/aab_unit_test.rb
|
|
|
|
# test/browser/aac_basic_richtext_test.rb
|
|
|
|
# test/browser/abb_one_group_test.rb
|
2016-03-10 15:47:42 +00:00
|
|
|
rm test/browser/admin_channel_email_test.rb
|
2016-05-23 22:48:32 +00:00
|
|
|
rm test/browser/admin_object_manager_test.rb
|
2016-03-13 23:25:05 +00:00
|
|
|
rm test/browser/admin_overview_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/agent_navigation_and_title_test.rb
|
2016-05-21 10:02:38 +00:00
|
|
|
rm test/browser/agent_ticket_actions_level0_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level1_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level2_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level3_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level4_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level5_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level6_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level7_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level8_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level9_test.rb
|
|
|
|
rm test/browser/agent_ticket_overview_level0_test.rb
|
|
|
|
rm test/browser/agent_ticket_overview_level1_test.rb
|
|
|
|
rm test/browser/agent_user_manage_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/agent_user_profile_test.rb
|
|
|
|
# test/browser/auth_test.rb
|
2015-12-05 19:55:34 +00:00
|
|
|
rm test/browser/chat_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/customer_ticket_create_test.rb
|
2016-03-01 14:26:46 +00:00
|
|
|
rm test/browser/first_steps_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/form_test.rb
|
2016-02-25 12:45:46 +00:00
|
|
|
rm test/browser/keyboard_shortcuts_test.rb
|
2016-05-25 07:19:45 +00:00
|
|
|
# test/browser/maintenance_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/prefereces_test.rb
|
|
|
|
rm test/browser/setting_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/signup_password_change_and_reset_test.rb
|
|
|
|
# test/browser/swich_to_user_test.rb
|
|
|
|
# test/browser/taskbar_session_test.rb
|
|
|
|
# test/browser/taskbar_task_test.rb
|
|
|
|
# test/browser/translation_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
|
|
|
|
elif [ "$LEVEL" == '2' ]; then
|
|
|
|
echo "slicing level 2"
|
|
|
|
|
2016-05-21 10:02:38 +00:00
|
|
|
# only ticket action 1/3
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/aab_basic_urls_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/aab_unit_test.rb
|
|
|
|
rm test/browser/aac_basic_richtext_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/abb_one_group_test.rb
|
2016-03-10 15:47:42 +00:00
|
|
|
rm test/browser/admin_channel_email_test.rb
|
2016-05-23 22:48:32 +00:00
|
|
|
rm test/browser/admin_object_manager_test.rb
|
2016-03-13 23:25:05 +00:00
|
|
|
rm test/browser/admin_overview_test.rb
|
2016-05-01 09:25:53 +00:00
|
|
|
rm test/browser/agent_navigation_and_title_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/agent_organization_profile_test.rb
|
2016-05-21 15:40:08 +00:00
|
|
|
# test/browser/agent_ticket_actions_level0_test.rb
|
|
|
|
# test/browser/agent_ticket_actions_level1_test.rb
|
|
|
|
# test/browser/agent_ticket_actions_level2_test.rb
|
|
|
|
# test/browser/agent_ticket_actions_level3_test.rb
|
|
|
|
# test/browser/agent_ticket_actions_level4_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level5_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level6_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level7_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level8_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level9_test.rb
|
2016-05-21 10:02:38 +00:00
|
|
|
rm test/browser/agent_ticket_overview_level0_test.rb
|
|
|
|
rm test/browser/agent_ticket_overview_level1_test.rb
|
|
|
|
rm test/browser/agent_user_manage_test.rb
|
|
|
|
rm test/browser/agent_user_profile_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/auth_test.rb
|
|
|
|
rm test/browser/chat_test.rb
|
|
|
|
rm test/browser/customer_ticket_create_test.rb
|
2016-03-01 14:26:46 +00:00
|
|
|
rm test/browser/first_steps_test.rb
|
2016-02-01 09:23:55 +00:00
|
|
|
rm test/browser/form_test.rb
|
2016-02-25 12:45:46 +00:00
|
|
|
rm test/browser/keyboard_shortcuts_test.rb
|
2016-05-25 07:19:45 +00:00
|
|
|
rm test/browser/maintenance_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/manage_test.rb
|
|
|
|
rm test/browser/prefereces_test.rb
|
|
|
|
rm test/browser/setting_test.rb
|
|
|
|
rm test/browser/signup_password_change_and_reset_test.rb
|
2015-12-18 16:18:09 +00:00
|
|
|
rm test/browser/switch_to_user_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/taskbar_session_test.rb
|
|
|
|
rm test/browser/taskbar_task_test.rb
|
2015-12-18 16:18:09 +00:00
|
|
|
rm test/browser/translation_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
|
|
|
|
elif [ "$LEVEL" == '3' ]; then
|
|
|
|
echo "slicing level 3"
|
|
|
|
|
2016-05-21 10:02:38 +00:00
|
|
|
# only ticket action 2/3
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/aab_basic_urls_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/aab_unit_test.rb
|
|
|
|
rm test/browser/aac_basic_richtext_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/abb_one_group_test.rb
|
|
|
|
rm test/browser/admin_channel_email_test.rb
|
2016-05-23 22:48:32 +00:00
|
|
|
rm test/browser/admin_object_manager_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/admin_overview_test.rb
|
|
|
|
rm test/browser/agent_navigation_and_title_test.rb
|
|
|
|
rm test/browser/agent_organization_profile_test.rb
|
2016-05-21 15:40:08 +00:00
|
|
|
rm test/browser/agent_ticket_actions_level0_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level1_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level2_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level3_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level4_test.rb
|
|
|
|
# test/browser/agent_ticket_actions_level5_test.rb
|
|
|
|
# test/browser/agent_ticket_actions_level6_test.rb
|
|
|
|
# test/browser/agent_ticket_actions_level7_test.rb
|
|
|
|
# test/browser/agent_ticket_actions_level8_test.rb
|
|
|
|
# test/browser/agent_ticket_actions_level9_test.rb
|
2016-05-21 10:02:38 +00:00
|
|
|
rm test/browser/agent_ticket_overview_level0_test.rb
|
|
|
|
rm test/browser/agent_ticket_overview_level1_test.rb
|
|
|
|
rm test/browser/agent_user_manage_test.rb
|
|
|
|
rm test/browser/agent_user_profile_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/auth_test.rb
|
2016-05-21 10:02:38 +00:00
|
|
|
rm test/browser/chat_test.rb
|
|
|
|
rm test/browser/customer_ticket_create_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/first_steps_test.rb
|
|
|
|
rm test/browser/form_test.rb
|
|
|
|
rm test/browser/keyboard_shortcuts_test.rb
|
2016-05-25 07:19:45 +00:00
|
|
|
rm test/browser/maintenance_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/manage_test.rb
|
|
|
|
rm test/browser/prefereces_test.rb
|
|
|
|
rm test/browser/setting_test.rb
|
|
|
|
rm test/browser/signup_password_change_and_reset_test.rb
|
|
|
|
rm test/browser/switch_to_user_test.rb
|
|
|
|
rm test/browser/taskbar_session_test.rb
|
|
|
|
rm test/browser/taskbar_task_test.rb
|
|
|
|
rm test/browser/translation_test.rb
|
|
|
|
|
|
|
|
elif [ "$LEVEL" == '4' ]; then
|
|
|
|
echo "slicing level 4"
|
|
|
|
|
2016-05-21 10:02:38 +00:00
|
|
|
# only ticket action 3/3
|
|
|
|
rm test/browser/aab_basic_urls_test.rb
|
|
|
|
rm test/browser/aab_unit_test.rb
|
|
|
|
rm test/browser/aac_basic_richtext_test.rb
|
|
|
|
# test/browser/abb_one_group_test.rb
|
|
|
|
rm test/browser/admin_channel_email_test.rb
|
2016-05-23 22:48:32 +00:00
|
|
|
rm test/browser/admin_object_manager_test.rb
|
2016-05-21 10:02:38 +00:00
|
|
|
rm test/browser/admin_overview_test.rb
|
|
|
|
rm test/browser/agent_navigation_and_title_test.rb
|
|
|
|
rm test/browser/agent_organization_profile_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level0_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level1_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level2_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level3_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level4_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level5_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level6_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level7_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level8_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level9_test.rb
|
|
|
|
# test/browser/agent_ticket_overview_level0_test.rb
|
|
|
|
# test/browser/agent_ticket_overview_level1_test.rb
|
|
|
|
rm test/browser/agent_user_manage_test.rb
|
|
|
|
rm test/browser/agent_user_profile_test.rb
|
|
|
|
rm test/browser/auth_test.rb
|
|
|
|
# test/browser/chat_test.rb
|
|
|
|
# test/browser/customer_ticket_create_test.rb
|
|
|
|
rm test/browser/first_steps_test.rb
|
|
|
|
rm test/browser/form_test.rb
|
|
|
|
rm test/browser/keyboard_shortcuts_test.rb
|
2016-05-25 07:19:45 +00:00
|
|
|
rm test/browser/maintenance_test.rb
|
2016-05-21 10:02:38 +00:00
|
|
|
rm test/browser/manage_test.rb
|
|
|
|
rm test/browser/prefereces_test.rb
|
|
|
|
rm test/browser/setting_test.rb
|
|
|
|
rm test/browser/signup_password_change_and_reset_test.rb
|
|
|
|
rm test/browser/switch_to_user_test.rb
|
|
|
|
rm test/browser/taskbar_session_test.rb
|
|
|
|
rm test/browser/taskbar_task_test.rb
|
|
|
|
rm test/browser/translation_test.rb
|
|
|
|
|
|
|
|
elif [ "$LEVEL" == '5' ]; then
|
|
|
|
echo "slicing level 5"
|
|
|
|
|
2016-05-21 09:13:58 +00:00
|
|
|
# only profile action & admin
|
2016-02-25 05:44:17 +00:00
|
|
|
rm test/browser/aab_basic_urls_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/aab_unit_test.rb
|
|
|
|
rm test/browser/aac_basic_richtext_test.rb
|
|
|
|
# test/browser/abb_one_group_test.rb
|
|
|
|
# test/browser/admin_channel_email_test.rb
|
2016-05-23 22:48:32 +00:00
|
|
|
# test/browser/admin_object_manager_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/admin_overview_test.rb
|
2016-05-01 09:25:53 +00:00
|
|
|
rm test/browser/agent_navigation_and_title_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/agent_organization_profile_test.rb
|
2016-05-21 10:02:38 +00:00
|
|
|
rm test/browser/agent_ticket_actions_level0_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level1_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level2_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level3_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level4_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level5_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level6_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level7_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level8_test.rb
|
|
|
|
rm test/browser/agent_ticket_actions_level9_test.rb
|
|
|
|
rm test/browser/agent_ticket_overview_level0_test.rb
|
|
|
|
rm test/browser/agent_ticket_overview_level1_test.rb
|
|
|
|
# test/browser/agent_user_manage_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/agent_user_profile_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/auth_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
rm test/browser/chat_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/customer_ticket_create_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/first_steps_test.rb
|
2016-02-01 09:23:55 +00:00
|
|
|
rm test/browser/form_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/keyboard_shortcuts_test.rb
|
2016-02-12 14:07:15 +00:00
|
|
|
rm test/browser/maintenance_*.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/manage_test.rb
|
2016-05-21 09:13:58 +00:00
|
|
|
# test/browser/preferences_test.rb
|
|
|
|
# test/browser/setting_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/signup_password_change_and_reset_test.rb
|
2015-12-18 16:18:09 +00:00
|
|
|
rm test/browser/switch_to_user_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
rm test/browser/taskbar_session_test.rb
|
|
|
|
rm test/browser/taskbar_task_test.rb
|
2015-12-18 16:18:09 +00:00
|
|
|
rm test/browser/translation_test.rb
|
2015-11-27 09:50:37 +00:00
|
|
|
|
|
|
|
else
|
2016-05-21 10:02:38 +00:00
|
|
|
echo "ERROR: Invalid level $LEVEL - 1, 2, 3, 4 or 5 is available"
|
2015-11-27 09:50:37 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|