http://groups.google.com/group/lebowskifw
Cheers,
-Mike
On Mar 8, 7:02 pm, "Jose G. Quenum" <ghisla...@gmail.com> wrote:
> Hi all,
> I have a Login page which I am trying to test with Lebowski. The page is pretty simple. A user name text field, a password text field and a Log in button. I am testing various scenarios, including the cases where ()1 one of the text field is empty, (2) wrong password and user name are typed and the case of the correct credentials. Only when the credentials are correct do I proceed to load the app and show other pages. In case the authentication fails, I show an AlertPane with different messages. So I test if the AlertPane shows up or not. The test file is available at
>
> https://gist.github.com/3760b3859a927a2a8302
>
> Most of the tests run fine. But I have been noticing something strange. After running the test "will enter an empty password and click the log in button and see an error AlertPane", any test where an AlertPane is supposed to show up fails. When I deactivate them all the tests succeed. I have no idea why such a strange behavior is happening. Can someone please help me figure this out?
>
> Besides, how can I check the message displayed by an AlertPane in the Lebowski tests? Couldn't find out from the code on github.
>
> Regards