015da04a8f
UITest_writer_tests6's tdf124675.tdf124675.test_tdf124675_crash_moving_SwTextFrame_previous_page failed in the SW_FORCE_FLY_SPLIT=1 case, since the current page after typing was 3, not 2. It seems this change is wanted, since the total page count increases by 2, so it's consistent that the current page increases similarly with typing. Also, repeating the UITest in Word (after positioning the cursor at the top paragraph in the document) also produces page 3 as the current page. Fix the problem by locally enabling split flys for this test and then we can assert that we match Word. This requires a new context manager, but that set_config() is really similar to other context managers in the class that return no value. The original purpose of the test was to make sure we don't crash, anyway. Change-Id: Id0dfde23a8726c8799950a6e4fdd1d85f135eafc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149315 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins |
||
---|---|---|
.. | ||
demo_ui | ||
impress_tests | ||
libreoffice | ||
math_tests | ||
packaging | ||
ui_logger_dsl | ||
uitest | ||
__init__.py | ||
loginterpreter.py | ||
Makefile | ||
Module_uitest.mk | ||
README.md | ||
test_main.py | ||
UITest_demo_ui.mk | ||
UITest_impress_demo.mk | ||
UITest_math_demo.mk |
UI Testing Framework
The code for the UI testing framework and the UI tests.