···99test('Load Homepage', async ({page}) => {
1010 const response = await page.goto('/');
1111 await expect(response?.status()).toBe(200); // Status OK
1212- await expect(page).toHaveTitle(/^Gitea: Git with a cup of tea\s*$/);
1212+ await expect(page).toHaveTitle(/^Forgejo: Beyond coding. We Forge.\s*$/);
1313 await expect(page.locator('.logo')).toHaveAttribute('src', '/assets/img/logo.svg');
1414});
1515
+14-14
tests/integration/repo_test.go
···217217 defer tests.PrintCurrentTest(t)()
218218219219 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo1")
220220- assert.EqualValues(t, "user2/repo1 - Gitea: Git with a cup of tea", htmlTitle)
220220+ assert.EqualValues(t, "user2/repo1 - Forgejo: Beyond coding. We Forge.", htmlTitle)
221221 })
222222 t.Run("With description", func(t *testing.T) {
223223 defer tests.PrintCurrentTest(t)()
224224225225 htmlTitle := GetHTMLTitle(t, nil, "/user27/repo49")
226226- assert.EqualValues(t, "user27/repo49: A wonderful repository with more than just a README.md - Gitea: Git with a cup of tea", htmlTitle)
226226+ assert.EqualValues(t, "user27/repo49: A wonderful repository with more than just a README.md - Forgejo: Beyond coding. We Forge.", htmlTitle)
227227 })
228228 })
229229···233233 defer tests.PrintCurrentTest(t)()
234234235235 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo59/src/branch/master/deep/nesting")
236236- assert.EqualValues(t, "repo59/deep/nesting at master - user2/repo59 - Gitea: Git with a cup of tea", htmlTitle)
236236+ assert.EqualValues(t, "repo59/deep/nesting at master - user2/repo59 - Forgejo: Beyond coding. We Forge.", htmlTitle)
237237 })
238238 t.Run("Non-default branch", func(t *testing.T) {
239239 defer tests.PrintCurrentTest(t)()
240240241241 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo59/src/branch/cake-recipe/deep/nesting")
242242- assert.EqualValues(t, "repo59/deep/nesting at cake-recipe - user2/repo59 - Gitea: Git with a cup of tea", htmlTitle)
242242+ assert.EqualValues(t, "repo59/deep/nesting at cake-recipe - user2/repo59 - Forgejo: Beyond coding. We Forge.", htmlTitle)
243243 })
244244 t.Run("Commit", func(t *testing.T) {
245245 defer tests.PrintCurrentTest(t)()
246246247247 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo59/src/commit/d8f53dfb33f6ccf4169c34970b5e747511c18beb/deep/nesting/")
248248- assert.EqualValues(t, "repo59/deep/nesting at d8f53dfb33f6ccf4169c34970b5e747511c18beb - user2/repo59 - Gitea: Git with a cup of tea", htmlTitle)
248248+ assert.EqualValues(t, "repo59/deep/nesting at d8f53dfb33f6ccf4169c34970b5e747511c18beb - user2/repo59 - Forgejo: Beyond coding. We Forge.", htmlTitle)
249249 })
250250 t.Run("Tag", func(t *testing.T) {
251251 defer tests.PrintCurrentTest(t)()
252252253253 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo59/src/tag/v1.0/deep/nesting/")
254254- assert.EqualValues(t, "repo59/deep/nesting at v1.0 - user2/repo59 - Gitea: Git with a cup of tea", htmlTitle)
254254+ assert.EqualValues(t, "repo59/deep/nesting at v1.0 - user2/repo59 - Forgejo: Beyond coding. We Forge.", htmlTitle)
255255 })
256256 })
257257 t.Run("File", func(t *testing.T) {
···259259 defer tests.PrintCurrentTest(t)()
260260261261 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo59/src/branch/master/deep/nesting/folder/secret_sauce_recipe.txt")
262262- assert.EqualValues(t, "repo59/deep/nesting/folder/secret_sauce_recipe.txt at master - user2/repo59 - Gitea: Git with a cup of tea", htmlTitle)
262262+ assert.EqualValues(t, "repo59/deep/nesting/folder/secret_sauce_recipe.txt at master - user2/repo59 - Forgejo: Beyond coding. We Forge.", htmlTitle)
263263 })
264264 t.Run("Non-default branch", func(t *testing.T) {
265265 defer tests.PrintCurrentTest(t)()
266266267267 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo59/src/branch/cake-recipe/deep/nesting/folder/secret_sauce_recipe.txt")
268268- assert.EqualValues(t, "repo59/deep/nesting/folder/secret_sauce_recipe.txt at cake-recipe - user2/repo59 - Gitea: Git with a cup of tea", htmlTitle)
268268+ assert.EqualValues(t, "repo59/deep/nesting/folder/secret_sauce_recipe.txt at cake-recipe - user2/repo59 - Forgejo: Beyond coding. We Forge.", htmlTitle)
269269 })
270270 t.Run("Commit", func(t *testing.T) {
271271 defer tests.PrintCurrentTest(t)()
272272273273 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo59/src/commit/d8f53dfb33f6ccf4169c34970b5e747511c18beb/deep/nesting/folder/secret_sauce_recipe.txt")
274274- assert.EqualValues(t, "repo59/deep/nesting/folder/secret_sauce_recipe.txt at d8f53dfb33f6ccf4169c34970b5e747511c18beb - user2/repo59 - Gitea: Git with a cup of tea", htmlTitle)
274274+ assert.EqualValues(t, "repo59/deep/nesting/folder/secret_sauce_recipe.txt at d8f53dfb33f6ccf4169c34970b5e747511c18beb - user2/repo59 - Forgejo: Beyond coding. We Forge.", htmlTitle)
275275 })
276276 t.Run("Tag", func(t *testing.T) {
277277 defer tests.PrintCurrentTest(t)()
278278279279 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo59/src/tag/v1.0/deep/nesting/folder/secret_sauce_recipe.txt")
280280- assert.EqualValues(t, "repo59/deep/nesting/folder/secret_sauce_recipe.txt at v1.0 - user2/repo59 - Gitea: Git with a cup of tea", htmlTitle)
280280+ assert.EqualValues(t, "repo59/deep/nesting/folder/secret_sauce_recipe.txt at v1.0 - user2/repo59 - Forgejo: Beyond coding. We Forge.", htmlTitle)
281281 })
282282 })
283283 })
···287287 defer tests.PrintCurrentTest(t)()
288288289289 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo1/issues")
290290- assert.EqualValues(t, "Issues - user2/repo1 - Gitea: Git with a cup of tea", htmlTitle)
290290+ assert.EqualValues(t, "Issues - user2/repo1 - Forgejo: Beyond coding. We Forge.", htmlTitle)
291291 })
292292 t.Run("View issue page", func(t *testing.T) {
293293 defer tests.PrintCurrentTest(t)()
294294295295 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo1/issues/1")
296296- assert.EqualValues(t, "#1 - issue1 - user2/repo1 - Gitea: Git with a cup of tea", htmlTitle)
296296+ assert.EqualValues(t, "#1 - issue1 - user2/repo1 - Forgejo: Beyond coding. We Forge.", htmlTitle)
297297 })
298298 })
299299···302302 defer tests.PrintCurrentTest(t)()
303303304304 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo1/pulls")
305305- assert.EqualValues(t, "Pull requests - user2/repo1 - Gitea: Git with a cup of tea", htmlTitle)
305305+ assert.EqualValues(t, "Pull requests - user2/repo1 - Forgejo: Beyond coding. We Forge.", htmlTitle)
306306 })
307307 t.Run("View pull request", func(t *testing.T) {
308308 defer tests.PrintCurrentTest(t)()
309309310310 htmlTitle := GetHTMLTitle(t, nil, "/user2/repo1/pulls/2")
311311- assert.EqualValues(t, "#2 - issue2 - user2/repo1 - Gitea: Git with a cup of tea", htmlTitle)
311311+ assert.EqualValues(t, "#2 - issue2 - user2/repo1 - Forgejo: Beyond coding. We Forge.", htmlTitle)
312312 })
313313 })
314314}
+4-4
tests/integration/view_test.go
···189189func TestTitleDisplayName(t *testing.T) {
190190 session := emptyTestSession(t)
191191 title := GetHTMLTitle(t, session, "/")
192192- assert.Equal(t, "Gitea: Git with a cup of tea", title)
192192+ assert.Equal(t, "Forgejo: Beyond coding. We Forge.", title)
193193}
194194195195func TestHomeDisplayName(t *testing.T) {
···197197 req := NewRequest(t, "GET", "/")
198198 resp := session.MakeRequest(t, req, http.StatusOK)
199199 htmlDoc := NewHTMLParser(t, resp.Body)
200200- assert.Equal(t, "Gitea: Git with a cup of tea", strings.TrimSpace(htmlDoc.Find("h1.title").Text()))
200200+ assert.Equal(t, "Forgejo: Beyond coding. We Forge.", strings.TrimSpace(htmlDoc.Find("h1.title").Text()))
201201}
202202203203func TestOpenGraphDisplayName(t *testing.T) {
···206206 resp := session.MakeRequest(t, req, http.StatusOK)
207207 htmlDoc := NewHTMLParser(t, resp.Body)
208208 ogTitle, _ := htmlDoc.Find("meta[property='og:title']").Attr("content")
209209- assert.Equal(t, "Gitea: Git with a cup of tea", ogTitle)
209209+ assert.Equal(t, "Forgejo: Beyond coding. We Forge.", ogTitle)
210210 ogSiteName, _ := htmlDoc.Find("meta[property='og:site_name']").Attr("content")
211211- assert.Equal(t, "Gitea: Git with a cup of tea", ogSiteName)
211211+ assert.Equal(t, "Forgejo: Beyond coding. We Forge.", ogSiteName)
212212}
+2-2
tests/mysql.ini.tmpl
···11-APP_NAME = Gitea
22-APP_SLOGAN = Git with a cup of tea
11+APP_NAME = Forgejo
22+APP_SLOGAN = Beyond coding. We Forge.
33RUN_MODE = prod
4455[database]
+2-2
tests/pgsql.ini.tmpl
···11-APP_NAME = Gitea
22-APP_SLOGAN = Git with a cup of tea
11+APP_NAME = Forgejo
22+APP_SLOGAN = Beyond coding. We Forge.
33RUN_MODE = prod
4455[database]
+2-2
tests/sqlite.ini.tmpl
···11-APP_NAME = Gitea
22-APP_SLOGAN = Git with a cup of tea
11+APP_NAME = Forgejo
22+APP_SLOGAN = Beyond coding. We Forge.
33RUN_MODE = prod
4455[database]