1234567891011121314151617181920212223242526272829 |
- Library SeleniumLibrary
- Library XML
- ${LOGIN_BUTTON_LOCATOR_ACCUEIL}= xpath=
- ${CREATE_ACCOUNT_BUTTON_LOCATOR}= xpath=
- ${LOGOUT_BUTTON_LOCATOR}= xpath=
- Valider l'affichage de la page "Accueil" - non connecté
- ${page_url} = Get Location
- Should Be Equal As Strings ${page_url} https:
- Wait Until Element Is Visible ${LOGIN_BUTTON_LOCATOR_ACCUEIL}
- #Element Should Exist ${LOGIN_BUTTON_LOCATOR}
- #Element Should Exist ${CREATE_ACCOUNT_BUTTON_LOCATOR}
- Valider l'affichage de la page "Accueil" - connecté
- Wait Until Element Is Visible ${LOGOUT_BUTTON_LOCATOR}
- ${page_url} = Get Location
- Should Be Equal As Strings ${page_url} https:
-
- Cliquer sur "Login"
- Click Element ${LOGIN_BUTTON_LOCATOR_ACCUEIL}
- Cliquer sur "Create an account"
- Click Element ${CREATE_ACCOUNT_BUTTON_LOCATOR}
-
|