How to select a sidebar item when the sidebar is collapsed in autotests/parttest

Albert Astals Cid aacid at kde.org
Tue Jul 2 00:00:11 BST 2019


El dimarts, 2 de juliol de 2019, a les 0:52:42 CEST, Mayank Choudhary va escriure:
> Hello,
> 
> I'm writing an autotest in parttest.cpp where initially when the part is
> opened, the sidebar is collapsed. Now I need to click on thumbnails item
> (say) in order to open it. How can I?

What would the user do? Click on it, right? So the test should ideally do the same by using QTest::mouseClick

Cheers,
  Albert




More information about the Okular-devel mailing list