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-delete
waitForElementPresent css=#delete-profile-submit
click css=#delete-profile-submit
waitForElementPresent css=table[data-language="xoo"] tr[data-name="Basic"]
waitForElementNotPresent css=table[data-language="xoo"] tr[data-name="sample"]
open /organizations/test-org/quality_profiles
waitForElementPresent css=table[data-language="xoo"] tr[data-name="Basic"]
assertElementNotPresent css=table[data-language="xoo"] tr[data-name="sample"]