|
@@ -45,4 +45,18 @@ Vérifier Login KO - champ pwd vide
|
|
|
Should Be Equal As Strings ${Current_Page_Url} https://practice.expandtesting.com/notes/app/login
|
|
|
Wait Until Element Is Visible ${MESSAGE_PWDREQUIRED_LOCATOR}
|
|
|
${Text_message_alerte}= Get Text ${MESSAGE_PWDREQUIRED_LOCATOR}
|
|
|
- Should Be Equal As Strings ${Text_message_alerte} Password is required ignorecase=true
|
|
|
+ Should Be Equal As Strings ${Text_message_alerte} Password is required ignorecase=true
|
|
|
+
|
|
|
+Vérifier Login KO - pwd lenght KO
|
|
|
+ ${Current_Page_Url}= Get Location
|
|
|
+ Should Be Equal As Strings ${Current_Page_Url} https://practice.expandtesting.com/notes/app/login
|
|
|
+ Wait Until Element Is Visible ${MESSAGE_PWDREQUIRED_LOCATOR}
|
|
|
+ ${Text_message_alerte}= Get Text ${MESSAGE_PWDREQUIRED_LOCATOR}
|
|
|
+ Should Be Equal As Strings ${Text_message_alerte} Password should be between 6 and 30 characters ignorecase=true
|
|
|
+
|
|
|
+Vérifier Login KO - format email invalide
|
|
|
+ ${Current_Page_Url}= Get Location
|
|
|
+ Should Be Equal As Strings ${Current_Page_Url} https://practice.expandtesting.com/notes/app/login
|
|
|
+ Wait Until Element Is Visible ${MESSAGE_EMAILFORMAT_LOCATOR}
|
|
|
+ ${Text_message_alerte}= Get Text ${MESSAGE_EMAILFORMAT_LOCATOR}
|
|
|
+ Should Be Equal As Strings ${Text_message_alerte} Email address is invalid ignorecase=true
|