THe RV industry is at an all time low for quality. Just read the forums here for the horror stories about every new coach. And dealers are not good at honoring warranties, either.
Consider hiring an RV inspector, before you sign on the dotted line. They will do a comprehensive inspection (usually 5-8 hours) and give you a detailed written report. Hand that report to the dealer and tell him you will buy when all that stuff is fixed. Dealers are notorious for doing poor warranty work, or keeping your rig for months, or making you come back multiple times for warranty. But not if you haven't paid them yet.
If the dealer refuses to cooperate, then you need a different dealer.
The best $500-800 you will spend for your RV.