diff options
Diffstat (limited to 'integrations')
-rw-r--r-- | integrations/pull_create_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/pull_create_test.go b/integrations/pull_create_test.go index 1d53aa3b6e..ed553bf162 100644 --- a/integrations/pull_create_test.go +++ b/integrations/pull_create_test.go @@ -18,9 +18,9 @@ func testPullCreate(t *testing.T, session *TestSession, user, repo, branch, titl req := NewRequest(t, "GET", path.Join(user, repo)) resp := session.MakeRequest(t, req, http.StatusOK) - // Click the little green button to create a pull + // Click the PR button to create a pull htmlDoc := NewHTMLParser(t, resp.Body) - link, exists := htmlDoc.doc.Find("button.ui.green.tiny.compact.button").Parent().Attr("href") + link, exists := htmlDoc.doc.Find("#new-pull-request").Parent().Attr("href") assert.True(t, exists, "The template has changed") if branch != "master" { link = strings.Replace(link, ":master", ":"+branch, 1) |