Code review comment for lp:~dpniel/ubuntu-autopilot-tests/gedit

Revision history for this message
Dan Chapman  (dpniel) wrote :

I totally agree,

Looking through the test i can't see an area where sleeps will be required, so i will lose all of them as we can just wait on the visible property to change.

I will work on all those changes tomorrow and take it further as I can see areas that can now be tested. With whats available now to introspect we can definately make a very solid test for gedit.

I did file a bug for higlight test which is possible although we can't see the highlighted text we can introspect the search box and from there when entering a search query if you hit enter twice the word you queried dissapears and then test the textview buffer that it has gone. So as long as before the search we can assert the buffer text then assert the search query box entry was typed correctly and then assert that the word dissapears from the textview buffer we can safely say it highlighted it.

anyway i will re-work it and see how we go :-)

« Back to merge proposal