You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2020/07/28 11:22:32 UTC

[openoffice] 02/03: Fix a test timing issue, and deal with "Save changes" dialog.

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 99b5c6424da9b55b8de5b1d91fb7378ff629b9b5
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Mon Jul 27 07:32:01 2020 +0200

    Fix a test timing issue, and deal with "Save changes" dialog.
    
    Patch by: me
    
    (cherry picked from commit fbeee538df5958e9c8ad230af896b4c8175ab763)
---
 .../source/fvt/gui/formula/importexport/FormulaInDifferentWays.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java b/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
index aec77ea..c241181 100644
--- a/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
+++ b/test/testgui/source/fvt/gui/formula/importexport/FormulaInDifferentWays.java
@@ -54,7 +54,7 @@ public class FormulaInDifferentWays {
 
 	@After
 	public void tearDown() throws Exception {
-		close();
+		discard();
 		app.stop();
 	}
 
@@ -167,6 +167,7 @@ public class FormulaInDifferentWays {
 		// commands window
 		mathElementsUnaryBinary.click();
 		mathElementsUnaryBinaryPlus.click();
+		sleep(1);
 		typeKeys("a"); // "+a";
 
 		// Undo and verify if it works fine