 (def scheme (get env/env :scheme "https"))
 
 (def stonecutter-url (get env/env :stonecutter-url "sso-staging.dcentproject.eu"))
-(def stonecutter-sign-in-page-body ".func--sign-in-page")
-(def stonecutter-sign-in-page-register-link ".func--register__link")
-(def stonecutter-sign-in-email-input ".func--email__input")
-(def stonecutter-sign-in-password-input ".func--password__input")
+(def stonecutter-index-page-body ".func--index-page")
+(def stonecutter-sign-in-email-input ".func--sign-in-email__input")
+(def stonecutter-sign-in-password-input ".func--sign-in-password__input")
 (def stonecutter-sign-in-button ".func--sign-in__button")
-(def stonecutter-register-page-body ".func--register-page")
-(def stonecutter-register-email-input ".func--email__input")
-(def stonecutter-register-password-input ".func--password__input")
-(def stonecutter-register-confirm-password-input ".func--confirm-password__input")
+(def stonecutter-register-email-input ".func--registration-email__input")
+(def stonecutter-register-password-input ".func--registration-password__input")
+(def stonecutter-register-confirm-password-input ".func--registration-confirm-password__input")
 (def stonecutter-register-create-profile-button ".func--create-profile__button")
 (def stonecutter-profile-page-body ".func--profile-page")
 (def stonecutter-profile-unshare-profile-card-link ".func--app-item__unshare-link")


    (fact "'sign in to vote' redirects to stonecutter"
          (wd/click "button")
          (wait-for-selector stonecutter-sign-in-page-body)
          (screenshot "stonecutter_sign_in")
          (wd/current-url) => (contains (str stonecutter-url "/sign-in")))

    (fact "can sign in with existing user credentials and redirects to authorisation form page"
          (input-sign-in-credentials-and-submit)

    (fact "can continue to authorise app even when registering a new account"
          (wd/to (str scheme "://" stonecutter-client-url))
          (logout-of-client-and-click-sign-in-to-vote)
          (wait-for-selector stonecutter-index-page-body)

          ;; Enter user details to register
          (wd/input-text stonecutter-register-email-input "stonecutter-journey-test@tw.com")
