checkLoginFailWhenWrongPasswordTest
open /ProductRegistry-dev/home.seam
clickAndWait loginLink
type login:username AAAAAUsername
type login:passwordNotHashed 12345
clickAndWait login:submit
assertText //div[@id='content']/ul/li[1] Wrong password, you still have 4 trial(s) before the account get blocked
assertText //div[@id='content']/ul/li[2] Login failed
type login:passwordNotHashed 12345
clickAndWait login:submit
assertText //div[@id='content']/ul/li[1] Wrong password, you still have 3 trial(s) before the account get blocked
assertText //div[@id='content']/ul/li[2] Login failed
type login:passwordNotHashed 12345
clickAndWait login:submit
assertText //div[@id='content']/ul/li[1] Wrong password, you still have 2 trial(s) before the account get blocked
assertText //div[@id='content']/ul/li[2] Login failed
type login:passwordNotHashed 12345
clickAndWait login:submit
assertText //div[@id='content']/ul/li[1] Wrong password, you still have 1 trial(s) before the account get blocked
assertText //div[@id='content']/ul/li[2] Login failed
type login:passwordNotHashed 12345
clickAndWait login:submit
assertText //div[@id='content']/ul/li[1] Account blocked due to more than 5 login failures
assertText //div[@id='content']/ul/li[2] Login failed