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_05 com.sonarsource.it.samples:multi-modules-sample:module_b
clickAndWait id=update_key_05
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 id=error *"com.sonarsource.it.samples:multi-modules-sample:module_*" can not be renamed because "com.sonarsource.it.samples:multi-modules-sample:module_b" is the key of an existing resource. The update has been canceled.*