You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2020/07/27 05:38:35 UTC

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

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

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

commit fbeee538df5958e9c8ad230af896b4c8175ab763
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
---
 .../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