Assert that the view has a window