From 685098f670956b57b28825c3b29d0b8f582ce625 Mon Sep 17 00:00:00 2001 From: Daniele Ferla Date: Fri, 25 Aug 2023 15:16:51 +0200 Subject: [PATCH] Fix FdoSecrets test: press Continue on warning dialogue --- tests/gui/TestGuiFdoSecrets.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/gui/TestGuiFdoSecrets.cpp b/tests/gui/TestGuiFdoSecrets.cpp index be5f44e4e3..604620617b 100644 --- a/tests/gui/TestGuiFdoSecrets.cpp +++ b/tests/gui/TestGuiFdoSecrets.cpp @@ -1879,6 +1879,8 @@ bool TestGuiFdoSecrets::driveNewDatabaseWizard() tmpFile.close(); fileDialog()->setNextFileName(tmpFile.fileName()); + // click Continue on the warning due to weak password + MessageBox::setNextAnswer(MessageBox::Continue); wizard->accept(); tmpFile.remove();