Richard Owen scored a last-gasp try as Wakefield's revival under James Webster continued with a 16-14 victory over local rivals Leeds Rhinos.
Webster was denied a third straight victory by a late show from Hull FC last weekend but it was his side's turn to strike at the death as Owen took a pass from Richard Mathers to score in the corner.
Afternoon rain made the surface at Belle Vue greasy on top and that contributed to a largely forgettable first half which was edged by Leeds.
Danny Washbrook opened the scoring but the Rhinos hit back through Kallum Watkins and went into the break 8-6 ahead courtesy of a stunning long-range effort from Ben Jones-Bishop.
Mathers put the Wildcats back in front but Ryan Hall's 15th try of the season put Leeds in control heading into the final 10 minutes.
The Rhinos looked on course for the two points that would have taken them to the First Utility Super League summit but Owen had other ideas as Wakefield recorded their first win over their neighbours in six attempts.
Teenage winger Callum Lancaster continued his blazing start to his Super League career with a hat-trick of tries on his home debut but in-form Warrington made sure there was no happy return to the KC Stadium for Hull as they went down 24-18.
The 17-year-old scored all of his side's tries to take his tally to eight in just four appearances as Hull appeared in front of their own fans for the first time in two months.
However, the KC Stadium is a happy hunting ground for the Wolves, who have not lost there since 2007, and they ground out an eighth successive win to maintain their surge up the table.
Stefan Ratchford, Ryan Atkins, Ben Harrison and Gene Ormsby all crossed to ensure Lancaster's treble came in a losing cause.