The “dress rehearsal” flight for the first moon landing was Apollo 10. They did everything except land. Launch, TLI, LM rendezvous and extraction, midcourse update, LOI, LM separation and descent burn, and then ascent stage to rendezvous with the CSM, LM jettison, TEI burn, and finally SM jettison and CM reentry. Critically, it was the first flight of the LM in lunar orbit.
What’s surprising is just how roomy the inside of the LM was. You’ll notice there were no seats. The crew simply stood, with straps and harnesses to keep them from floating in a weightless environment.