UI tests opening all possible dialogs

Artur Neumann artur at jankaritech.com
Thu Jun 20 11:16:56 UTC 2019


I've made some UI tests that open every dialog in calc, close it with
the "close" or "cancel" button and if there is an "OK" button open it
again and click the "OK" button

These tests should simply make sure there are no crashes by
opening/closing the dialogues and protect against regressions like
https://bugs.documentfoundation.org/show_bug.cgi?id=120227
https://bugs.documentfoundation.org/show_bug.cgi?id=125982
https://bugs.documentfoundation.org/show_bug.cgi?id=125985

I just wanted to have some feedback if picking those low-hanging fruits
is a valid approach and worth the effort and CI time.

If yes I could extend the tests by:

 1. doing the same for writer, impress, etc.
 2. delete obsolete tests like uitest/calc_tests/about_test.py
 3. define preconditions for the "OK" click, e.g. input data into fields
 4. define assertion after the click on the "OK" button

Thoughts? Ideas?

-- 
Artur Neumann
Director/CTO
Jankari Tech Pvt Ltd
www.jankaritech.com
Phone: +977 9806639223
Skype: artur.n.
GitHub: https://github.com/individual-it

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20190620/61ad98c2/attachment.html>


More information about the LibreOffice mailing list