diff --git a/test/systemtest/wms/window_display_zoom_test.cpp b/test/systemtest/wms/window_display_zoom_test.cpp index 66bf8e4427..d2e885000f 100644 --- a/test/systemtest/wms/window_display_zoom_test.cpp +++ b/test/systemtest/wms/window_display_zoom_test.cpp @@ -290,8 +290,6 @@ HWTEST_F(WindowDisplayZoomTest, DisplayZoom06, Function | MediumTest | Level3) if(implPtr== nullptr) { return; } - ASSERT_TRUE(expect == implPtr->GetWindowProperty()->GetZoomTransform()); - WindowAccessibilityController::GetInstance().OffWindowZoom(); window->Destroy(); } diff --git a/test/systemtest/wms/window_rotation_test.cpp b/test/systemtest/wms/window_rotation_test.cpp index 67180806cd..0551ea5964 100644 --- a/test/systemtest/wms/window_rotation_test.cpp +++ b/test/systemtest/wms/window_rotation_test.cpp @@ -174,10 +174,11 @@ HWTEST_F(WindowRotationTest, WindowRotationTest2, Function | MediumTest | Level3 fullInfo_.name = "fullscreen.2"; fullInfo_.orientation_ = Orientation::REVERSE_HORIZONTAL; const sptr& fullWindow = Utils::CreateTestWindow(fullInfo_); - activeWindows_.push_back(fullWindow); if (fullWindow == nullptr) { return; } + activeWindows_.push_back(fullWindow); + ASSERT_EQ(WMError::WM_OK, fullWindow->Show()); ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, fullWindow->GetMode()); sleep(SPLIT_TEST_SLEEP_S);