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 fall short against St Albans
Centenary Year Begins as Barry Swimming Club Celebrates 100th AGM
Young Bombers go top after Ponty win
Llantwit bow out of WBS Cup
Barry Ladies learn Phase Two fixtures
Rees-Zammit returns to face England
Legg returns as Barry Town boss
Cameron turns out for Gloucester U17s
Patten rejoins Barry on deadline day
Wrexham hit Barry Ladies for six
Why Llantwit Major's roads lead to Rome...
Barry scrape past Rhiwbina in youth league
Rangers sign keeper Kelly on loan
Barry fall to Welsh Cup upset
Barry's Welsh Cup run reaches Sunny Rhyl
Evans equalises on Llantwit return