update checkWarning add waitForQa
fix test