Fix sporadically failing user dashboard test

The dashboard sorts works by revised_at, need to lookup the most recent/oldest by that sort and check the page for that, instead of hardcoding the title of the work.