storeEval 'filter_'+(new Date()).getTime() FILTER_NAME
open /sessions/logout
open /sessions/new
type login can_share
type password password
clickAndWait commit
open /measures
waitForElementPresent class=navigator-filter-submit
click class=navigator-filter-submit
waitForText content *Save As*
click save-as
waitForText save-as-filter-form *Save Filter*
type name ${FILTER_NAME}
click name=shared
clickAndWait save-as-submit
waitForText filter-title glob:*${FILTER_NAME}*Shared with all users*
open /sessions/logout
open /sessions/new
type login admin
type password admin
clickAndWait commit
open /measures
waitForElementPresent id=manage-favorites
clickAndWait id=manage-favorites
waitForText shared-filters glob:*${FILTER_NAME}*
click edit_system_${FILTER_NAME}
waitForText edit-filter-form *Edit Filter*
type select-filter-owner admin
clickAndWait save-submit
waitForText filter-title glob:*${FILTER_NAME}*Shared with all users*