Barry Town United slipped to a 3-1 defeat at Connah's Quay Nomads in the Cymru Premier on Saturday.
Back-to-back defeats for Steve Jenkins' men means their bid for a top six finish will go down to the final night of Phase One next Friday.
Barry began the day sixth in the table - but only on goal difference - as they sought to take advantage of their game-in-hand over Cardiff Met.
There was just one change to the starting line-up from their New Year's Eve defeat at Briton Ferry with Eliot Richards replacing the suspended Keston Davies.
Despite a bright start from the Nomads, the visitors broke the deadlock on 19 minutes when Ieuan Owen latched onto Ben Margetson's cross and struck from the edge of the box for his fith goal in nine games.
Barry held out until Callum West found his way through the defence and blasted into the top corner of the net to equalise on 74 minutes.
Edwards turned the game on its head five minutes later, producing a clinical finish into the bottom keeper to defy keeper George Ratcliffe before Rhys Hughes curled home the Nomads' third in the 90th minute.
Barry entertain Llanelli on Friday night while Cardiff Met are away at Penybont as the race to reach the Championship Conference reaches its climax.
---
Elsewhere, The New Saints' home game against Bala was frozen off for a second time, while on New Year's Eve, Penybont beat Llanelli 1-0 to remain third in the table and Flint Town United won 2-1 at Colwyn Bay.

Barry Rugby Football Club has lodged plans for extensions to its clubhouse and other works
Missed chance proved Barry's downfall against Caerphilly
Barry RFC Youth lose to Llandaff in Cardiff Rugby 2 League
Barry RFC girls coach recognised by Cardiff Rugby Community Foundation
Barry Town United end 26-year wait to lift Nathaniel MG Cup
Welsh legend Max Boyce and record-breaking footballer Jess Fishlock honoured at St David Awards
Dinas Powys face tough test against top of the table Llantrisant
Barry fall short against St Albans
Centenary Year Begins as Barry Swimming Club Celebrates 100th AGM