Warrington edged Wigan by two points to earn a Challenge Cup quarter-final clash at Hull KR.
A goal by Stefan Ratchford, above, was the difference as both sides crossed four times at the Halliwell Jones Stadium, where the home side won 26-24.
St Helens will host Wakefield after a 22-16 win at Huddersfield.
The other two quarter-final tie