New 2023 F150 died during test drive!

Hey folks, thanks for all the help so far. I had picked out the truck I wanted (23 F150 lariat with the 2.7 engine), negotiated a price, and finally went to go drive it.

The truck broke down within ¼ mile of the dealer. No electrical, wouldn't restart, and a really weird high frequency clicking coming from under the hood.

The dealer claims to know the problem and has fixed a similar issue on a 2023 they sold. Am I insane to even continue going through with this deal? We are $59k OTD on a $68k MSRP. Should I push for more discount? Free extended warranty? Or walk away?

Thanks!