Skip to content

Commit

Permalink
Fix failed TOTP test on wrong window id
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaslenko committed Feb 1, 2023
1 parent 13f0a9f commit 8f74c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gui/TestGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ void TestGui::testTotp()

// Test the QR code
triggerAction("actionEntryTotpQRCode");
auto* qrCodeDialog = m_mainWindow->findChild<QDialog*>("qrCodeDialog");
auto* qrCodeDialog = m_mainWindow->findChild<QDialog*>("entryQrCodeWidget");
QVERIFY(qrCodeDialog);
QVERIFY(qrCodeDialog->isVisible());
auto* qrCodeWidget = qrCodeDialog->findChild<QWidget*>("squareSvgWidget");
Expand Down

0 comments on commit 8f74c4f

Please sign in to comment.