unit test help

My tests dont seem to toggle/switch the icon. the renderSuspended just shows the icon 'light mode' sun thing no matter what. anyone know what part of this test is incorrect/?
Was this page helpful?