open /sessions/login
type password admin-user
type login admin-user
clickAndWait commit
waitForElementPresent css=.js-user-authenticated
open /profiles
waitForElementPresent css=.js-more-admin-actions
click css=.js-more-admin-actions
click css=#quality-profiles-restore
waitForElementPresent css=#restore-profile-backup
waitForElementPresent css=#restore-profile-submit