open /sessions/logout
open /sessions/login
type login admin
type password admin
clickAndWait commit
waitForElementPresent css=.js-user-authenticated
open /dashboard/index/com.sonarsource.it.samples:multi-modules-sample
click css=#context-navigation .navbar-admin-link
waitForElementPresent link=Update Key
clickAndWait link=Update Key
type id=key_02 com.sonarsource.it.samples:module_c1
clickAndWait id=update_key_02
assertConfirmation *Are you sure you want to rename "com.sonarsource.it.samples:multi-modules-sample:module_*", as well as all its modules and resources?*
waitForText content *The key has successfully been updated for all required resources.*
waitForText content *com.sonarsource.it.samples:module_c1*