Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
a5290c8f
Commit
a5290c8f
authored
Feb 22, 2021
by
Sandro Knauß
🐝
Browse files
KMComposerWinTest:Add explaination for sleep.
parent
b2caae50
Pipeline
#51803
passed with stage
in 26 minutes and 6 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/autotests/kmcomposerwintest.cpp
View file @
a5290c8f
...
...
@@ -217,6 +217,7 @@ void KMComposerWinTest::testChangeIdentity()
auto
identCombo
=
composer
->
findChild
<
KIdentityManagement
::
IdentityCombo
*>
(
QStringLiteral
(
"identitycombo"
));
QVERIFY
(
identCombo
);
identCombo
->
setCurrentIdentity
(
ident
);
// We need a small sleep so that identity change can take place
QEventLoop
loop
;
QTimer
::
singleShot
(
50
,
&
loop
,
SLOT
(
quit
()));
loop
.
exec
();
...
...
@@ -231,6 +232,7 @@ void KMComposerWinTest::testChangeIdentity()
auto
identCombo
=
composer
->
findChild
<
KIdentityManagement
::
IdentityCombo
*>
(
QStringLiteral
(
"identitycombo"
));
QVERIFY
(
identCombo
);
identCombo
->
setCurrentIdentity
(
ident
);
// We need a small sleep so that identity change can take place
QEventLoop
loop
;
QTimer
::
singleShot
(
50
,
&
loop
,
SLOT
(
quit
()));
loop
.
exec
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment