diff options
author | silverwind <me@silverwind.io> | 2020-08-23 21:05:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 20:05:17 +0100 |
commit | dd8ec121880fda03691cf9f4b17be88e1d4be030 (patch) | |
tree | c6379e584b2a3b57ee9ef00d59ca1151d6b5294c /integrations/repo_test.go | |
parent | d2cee3eea60cd0e459e665dad289b2c5adc1a2a5 (diff) | |
download | gitea-dd8ec121880fda03691cf9f4b17be88e1d4be030.tar.gz gitea-dd8ec121880fda03691cf9f4b17be88e1d4be030.zip |
Increase clickable area on files table links (#12553)
Diffstat (limited to 'integrations/repo_test.go')
-rw-r--r-- | integrations/repo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/repo_test.go b/integrations/repo_test.go index c2a0368b0a..3121b5135f 100644 --- a/integrations/repo_test.go +++ b/integrations/repo_test.go @@ -148,7 +148,7 @@ func TestViewRepoWithSymlinks(t *testing.T) { resp := session.MakeRequest(t, req, http.StatusOK) htmlDoc := NewHTMLParser(t, resp.Body) - files := htmlDoc.doc.Find("#repo-files-table > TBODY > TR > TD.name > SPAN") + files := htmlDoc.doc.Find("#repo-files-table > TBODY > TR > TD.name") items := files.Map(func(i int, s *goquery.Selection) string { cls, _ := s.Find("SVG").Attr("class") file := strings.Trim(s.Find("A").Text(), " \t\n") |