diff --git a/services/security_component_service/sa/test/unittest/src/first_use_dialog_test.cpp b/services/security_component_service/sa/test/unittest/src/first_use_dialog_test.cpp index 143447c5b8876d48f3354ca71604624511f14c8d..f262416ed1e935fc4b4537843bb1be72c198750f 100644 --- a/services/security_component_service/sa/test/unittest/src/first_use_dialog_test.cpp +++ b/services/security_component_service/sa/test/unittest/src/first_use_dialog_test.cpp @@ -369,4 +369,7 @@ HWTEST_F(FirstUseDialogTest, NotifyFirstUseDialog001, TestSize.Level1) ASSERT_EQ(LOCATION_BUTTON_FIRST_USE | SAVE_BUTTON_FIRST_USE, static_cast(diag.firstUseMap_[0])); diag.StartDialogAbility(PASTE_COMPONENT, nullptr); + + // wait for event handler done + sleep(3); }