open |
/sessions/new |
|
type |
login |
admin |
type |
password |
admin |
clickAndWait |
commit |
|
open |
/dashboards/index?resource=sample |
|
click |
create-link-dashboard |
|
waitForVisible |
css=div.modal-head > h2 |
|
type |
name=name |
IsDefault |
click |
name=shared |
|
clickAndWait |
save-submit |
|
open |
/admin_dashboards/index |
|
clickAndWait |
id=add-IsDefault |
|
waitForText |
activeProject |
glob:*IsDefault* |
open |
/dashboards/index?resource=sample |
|
click |
edit-IsDefault |
|
waitForVisible |
css=div.modal-head > h2 |
|
click |
name=shared |
|
click |
save-submit |
|
waitForVisible |
css=div.modal-body > p.error |
|
waitForText |
css=div.modal-body > p.error |
glob:*This dashboard can't be unshared* |
click |
save-cancel |
|
click |
id=delete-IsDefault |
|
waitForVisible |
css=div.modal-head > h2 |
|
waitForText |
css=div.modal-body |
Do you want to delete this dashboard? |
click |
confirm-submit |
|
waitForVisible |
css=div.modal-body .alert-danger |
|
waitForText |
css=div.modal-body .alert-danger |
glob:*This dashboard can't be deleted* |
open |
/admin_dashboards/index |
|
click |
id=remove-IsDefault |
|
assertConfirmation |
Are you sure to remove it from default dashboards? |
|
open |
/dashboards/index?resource=sample |
|
click |
id=delete-IsDefault |
|
waitForVisible |
css=div.modal-head > h2 |
|
waitForText |
css=div.modal-body |
Do you want to delete this dashboard? |
click |
confirm-submit |
|