loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove unnecessary ".Link" usages (#29909) (part 2)

5143ebb507 Add rel="nofollow" to issue filter links

has a test that fails because it assumes the link starts with the link
where it now starts with a ?

+1 -1
+1 -1
tests/integration/issue_test.go
··· 807 807 htmlDoc := NewHTMLParser(t, resp.Body) 808 808 809 809 // Check that every link in the filter list has rel="nofollow". 810 - filterLinks := htmlDoc.Find(".issue-list-toolbar-right a[href*=\"/issues?q=\"]") 810 + filterLinks := htmlDoc.Find(".issue-list-toolbar-right a[href*=\"?q=\"]") 811 811 assert.True(t, filterLinks.Length() > 0) 812 812 filterLinks.Each(func(i int, link *goquery.Selection) { 813 813 rel, has := link.Attr("rel")