Benetton Treviso retained its place in the top three of Pro14 Conference B with a last-gasp draw against Leinster at RDS Arena.
Iliesa Ratuva Tavuyara crossed beyond the 80th minute and Tommaso Allan successfully converted to seal a 27-27 draw for the Italian side in an enthralling clash.
Leinster twice came back from seven points down to level before Ciaran Frawley, who was a first-half replacement for Noel Reid, capped a fine performance by converting his own try with nine minutes remaining.
However, Treviso's late efforts ensured it stayed ahead of Edinburgh, which roared back from 12-0 down to defeat Scarlets 20-12 in Llanelli.
Gareth Davies and Jonathan Davies put Wayne Pivac's side in charge in the first half, but Jaco van der Walt added the extras to Matt Scott's try and converted one of his own to turn the game around.
Van der Walt then slotted through his second penalty of the match to complete a sensational nine-minute turn around for Edinburgh.
The Ospreys kept hopes of making the play-offs alive with a 31-14 win over the Cheetahs at Toyota Stadium, while a pair of Jack Carty penalties gave Connacht a nervy 6-5 win at Zebre.
The Irish side moved four points clear of Cardiff Blues, which is fourth in Conference A after a 45-21 loss to Munster.