@@ -33,7 +33,7 @@ func TestRepoCommits(t *testing.T) {
3333 resp := session .MakeRequest (t , req , http .StatusOK )
3434
3535 doc := NewHTMLParser (t , resp .Body )
36- commitURL , exists := doc .doc .Find (".timeline.commits-list-group-by-date .commit_sign_badge .commit-id-short" ).Attr ("href" )
36+ commitURL , exists := doc .doc .Find (".timeline.commits-list-group-by-date .commit-sign-badge .commit-id-short" ).Attr ("href" )
3737 assert .True (t , exists )
3838 assert .NotEmpty (t , commitURL )
3939}
@@ -50,7 +50,7 @@ func Test_ReposGitCommitListNotMaster(t *testing.T) {
5050
5151 doc := NewHTMLParser (t , resp .Body )
5252 commits := []string {}
53- doc .doc .Find (".timeline.commits-list-group-by-date .commit_sign_badge .commit-id-short" ).Each (func (i int , s * goquery.Selection ) {
53+ doc .doc .Find (".timeline.commits-list-group-by-date .commit-sign-badge .commit-id-short" ).Each (func (i int , s * goquery.Selection ) {
5454 commitURL , exists := s .Attr ("href" )
5555 assert .True (t , exists )
5656 assert .NotEmpty (t , commitURL )
@@ -87,7 +87,7 @@ func doTestRepoCommitWithStatus(t *testing.T, state string, classes ...string) {
8787
8888 doc := NewHTMLParser (t , resp .Body )
8989 // Get first commit URL
90- commitURL , exists := doc .doc .Find (".timeline.commits-list-group-by-date .commit_sign_badge .commit-id-short" ).Attr ("href" )
90+ commitURL , exists := doc .doc .Find (".timeline.commits-list-group-by-date .commit-sign-badge .commit-id-short" ).Attr ("href" )
9191 assert .True (t , exists )
9292 assert .NotEmpty (t , commitURL )
9393
@@ -181,7 +181,7 @@ func TestRepoCommitsStatusParallel(t *testing.T) {
181181
182182 doc := NewHTMLParser (t , resp .Body )
183183 // Get first commit URL
184- commitURL , exists := doc .doc .Find (".timeline.commits-list-group-by-date .commit_sign_badge .commit-id-short" ).Attr ("href" )
184+ commitURL , exists := doc .doc .Find (".timeline.commits-list-group-by-date .commit-sign-badge .commit-id-short" ).Attr ("href" )
185185 assert .True (t , exists )
186186 assert .NotEmpty (t , commitURL )
187187
@@ -216,7 +216,7 @@ func TestRepoCommitsStatusMultiple(t *testing.T) {
216216
217217 doc := NewHTMLParser (t , resp .Body )
218218 // Get first commit URL
219- commitURL , exists := doc .doc .Find (".timeline.commits-list-group-by-date .commit_sign_badge .commit-id-short" ).Attr ("href" )
219+ commitURL , exists := doc .doc .Find (".timeline.commits-list-group-by-date .commit-sign-badge .commit-id-short" ).Attr ("href" )
220220 assert .True (t , exists )
221221 assert .NotEmpty (t , commitURL )
222222
0 commit comments