Log in to the site as ${userid} using ${password}. There is no guarantee of where in the site you are once this is done. (You are responsible for knowing where you are and where you want to be)
Go to ${PLONE_URL}/login_form
Page should contain element __ac_name
Page should contain element __ac_password
Page should contain button Log in
Input text for sure __ac_name ${userid}
Input text for sure __ac_password ${password}
Click Button Log in
Log in ${TEST_USER_NAME} ${TEST_USER_PASSWORD}
Log in as the SITE_OWNER provided by plone.app.testing, with all the rights and privileges of that user.
Log in ${SITE_OWNER_NAME} ${SITE_OWNER_PASSWORD}
Go to ${PLONE_URL}/logout
Page should contain logged out