should_create
open /sessions/login
type password admin2
type login admin2
clickAndWait commit
waitForElementPresent css=.js-user-authenticated
open /organizations/test-org/quality_profiles
waitForElementPresent css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a
click css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a
waitForElementPresent css=.quality-profile-header .dropdown-toggle
click css=.quality-profile-header .dropdown-toggle
click css=#quality-profile-rename
waitForElementPresent css=#rename-profile-name
type css=#rename-profile-name new name
click css=#rename-profile-submit
waitForText css=.quality-profile-header *new name*
open /organizations/test-org/quality_profiles
waitForElementPresent css=table[data-language="xoo"] tr[data-name="new name"] .quality-profiles-table-name a