diff --git a/testbed/tests/app/test_desktop.py b/testbed/tests/app/test_desktop.py index dca1356216..d0262f980b 100644 --- a/testbed/tests/app/test_desktop.py +++ b/testbed/tests/app/test_desktop.py @@ -330,7 +330,9 @@ async def test_presentation_mode_with_excess_windows_list(app, app_probe): assert ( window_information["window_probe"].presentation_content_size == window_information["initial_content_size"] - ), f"{window_information['window'].title}:" + ), f"{window_information['window'].title}:\n" + f"Actual:{window_information['window'].state}\t" + f"Probe:{window_information['window_probe'].get_window_state()}" finally: for window in excess_windows_list: diff --git a/testbed/tests/window/test_window.py b/testbed/tests/window/test_window.py index 6b8d9c18b8..08882178df 100644 --- a/testbed/tests/window/test_window.py +++ b/testbed/tests/window/test_window.py @@ -821,6 +821,11 @@ async def test_window_state_presentation(second_window, second_window_probe): "Secondary window is not in presentation mode", full_screen=True ) assert second_window_probe.get_window_state() != WindowState.PRESENTATION + assert ( + second_window_probe.get_window_state() != WindowState.NORMAL + ), f"Current window state: Actual:{second_window.state}\t" + f"Probe:{second_window_probe.get_window_state()}" + assert second_window_probe.is_resizable assert second_window_probe.presentation_content_size == initial_content_size