Author: hdu Date: Wed Sep 4 11:30:50 2013 New Revision: 1519988 URL: http://svn.apache.org/r1519988 Log: #i123172# remove 25min of dead time in saveNewSWWithLineToDoc() test
Modified: openoffice/trunk/test/testgui/source/svt/gui/sw/FileTypeAboutWriter.java Modified: openoffice/trunk/test/testgui/source/svt/gui/sw/FileTypeAboutWriter.java URL: http://svn.apache.org/viewvc/openoffice/trunk/test/testgui/source/svt/gui/sw/FileTypeAboutWriter.java?rev=1519988&r1=1519987&r2=1519988&view=diff ============================================================================== --- openoffice/trunk/test/testgui/source/svt/gui/sw/FileTypeAboutWriter.java (original) +++ openoffice/trunk/test/testgui/source/svt/gui/sw/FileTypeAboutWriter.java Wed Sep 4 11:30:50 2013 @@ -126,8 +126,9 @@ public class FileTypeAboutWriter { swInsertLineButtonOnToolbar.click(); writer.focus(); for(int j=0;j<10;j++){ - writer.drag(150+j, 150+j*10, 200+j, 200+j*10); - sleep(2); + // due to snap-to-grid the lines below will not all be parallel! + writer.drag( 150+j, 150+j*10, 200+j, 200+j*10); + sleep( 0.5); } typeKeys("<esc>"); sleep(2);