1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-13 16:18:15 +08:00

More tweaks to repo top panel ()

* More tweaks to repo top panel

* undo hiding of compare button on master

* attempt to fix ci issue

* another ci attempt
This commit is contained in:
silverwind
2017-08-14 00:49:38 +02:00
committed by Andrey Nering
parent 29f3a6e492
commit fc29a405e8
5 changed files with 19 additions and 23 deletions

@ -19,7 +19,7 @@ func testPullCreate(t *testing.T, session *TestSession, user, repo, branch strin
// Click the little green button to create a pull
htmlDoc := NewHTMLParser(t, resp.Body)
link, exists := htmlDoc.doc.Find("button.ui.green.small.button").Parent().Attr("href")
link, exists := htmlDoc.doc.Find("button.ui.green.tiny.compact.button").Parent().Attr("href")
assert.True(t, exists, "The template has changed")
if branch != "master" {
link = strings.Replace(link, ":master", ":"+branch, 1)