create-global-dashboards-error
open /sessions/login
type login admin
type password admin
clickAndWait commit
open /dashboards
click create-link-dashboard
waitForVisible css=div.modal-head > h2
type name=name GLOBAL
clickAndWait id=save-submit
click create-link-dashboard
waitForVisible css=div.modal-head > h2
type name=name GLOBAL
click id=save-submit
waitForVisible css=p.error
waitForText css=p.error A dashboard already exists with the same name
type name=name GLOBAL2
clickAndWait id=save-submit
waitForText dashboards *GLOBAL*GLOBAL2*
click id=delete-GLOBAL
waitForVisible css=div.modal-head > h2
waitForText css=.modal-body Do you want to delete this dashboard?
clickAndWait confirm-submit
click id=delete-GLOBAL2
waitForVisible css=div.modal-head > h2
waitForText css=.modal-body Do you want to delete this dashboard?
clickAndWait confirm-submit