Wales booked their place at the 2025 World Cup with an eight-try 52-20 victory over Spain in Cardiff.
Carys Cox scored a second-half hat-trick as Wales recovered from a close first half to finally shrug off their visitors.
Alex Callender and Abbie Fleming crossed early on before Alisha Joyce-Butchers crossed twice and Jenny Hesketh added another score.
The victory also saw Wales secure their place in WXV2, which is to be held in South Africa in September.
Wales head coach Ioan Cunningham said: "This win is everything for us as a group. We went to the World Cup in 2022 and WXV1 last year so to get back to another World Cup is big.
"It was a real arm wrestle in that first half but in a strange way it was good to go through a bit of adversity.
"We could see after 45-50 minutes they were starting to go, we kept the foot on the throat and I'm pleased with the way we got through it."
Wales: Jenny Hesketh; Lisa Neumann, Hannah Jones (capt), Kerin Lake, Carys Cox; Lleucu George, Keira Bevan; Gwenllian Pyrs, Carys Phillips, Sisilia Tuipulotu, Abbie Fleming, Georgia Evans, Alisha Butchers, Alex Callender, Bethan Lewis
Replacements: Molly Reardon, Abbey Constable, Donna Rose, Kate Williams, Gwennan Hopkins, Sian Jones, Robyn Wilkins, Courtney Keight