Re: UI tests opening all possible dialogs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forgot the link to the changes, here it is: https://gerrit.libreoffice.org/#/c/74333/

On 2019-06-20 5:01 p.m., Artur Neumann wrote:

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

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice
-- 
Artur Neumann
Director/CTO
Jankari Tech Pvt Ltd
www.jankaritech.com
Phone: +977 9806639223
Skype: artur.n.
GitHub: https://github.com/individual-it
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux