Pin each answer-page commit link's text, not only its href
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- commitLinksOf now returns [href, text] for each link to a commit page, so the tests pin the base link's text as its short SHA (the issue's Want) and the landing link's text as "The landing commit". - Drops expect(markup).toContain("The landing commit"): the old label "The landing commit, in a clone of <project>" already held that string, so it passed against the code before the change. Seen red by planting the old label back as the link's text.
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+12 added−7 removed
- tests:+12 added−7 removed