Assert message correction in waitForAndGetView()