mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-13 16:18:15 +08:00
More tweaks to repo top panel (#2267)
* 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:

committed by
Andrey Nering

parent
29f3a6e492
commit
fc29a405e8
integrations
public
templates/repo
@ -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)
|
||||
|
Reference in New Issue
Block a user