|
|
@ -56,9 +56,9 @@ func TestRepoActivity(t *testing.T) { |
|
|
|
list = htmlDoc.doc.Find("#merged-pull-requests").Next().Find("p.desc") |
|
|
|
list = htmlDoc.doc.Find("#merged-pull-requests").Next().Find("p.desc") |
|
|
|
assert.Len(t, list.Nodes, 1) |
|
|
|
assert.Len(t, list.Nodes, 1) |
|
|
|
|
|
|
|
|
|
|
|
// Should be 3 merged proposed pull requests
|
|
|
|
// Should be 2 proposed pull requests
|
|
|
|
list = htmlDoc.doc.Find("#proposed-pull-requests").Next().Find("p.desc") |
|
|
|
list = htmlDoc.doc.Find("#proposed-pull-requests").Next().Find("p.desc") |
|
|
|
assert.Len(t, list.Nodes, 3) |
|
|
|
assert.Len(t, list.Nodes, 2) |
|
|
|
|
|
|
|
|
|
|
|
// Should be 3 new issues
|
|
|
|
// Should be 3 new issues
|
|
|
|
list = htmlDoc.doc.Find("#new-issues").Next().Find("p.desc") |
|
|
|
list = htmlDoc.doc.Find("#new-issues").Next().Find("p.desc") |
|
|
|