Boeing Co. has completed the intermediate phase of a flight-simulation test on its first 787 Dreamliner, advancing the aircraft toward a maiden takeoff this month.