From viscous fingering to elastic instabilities