1
0
mirror of synced 2025-12-25 02:17:36 -05:00

translation batch 1632491035 (#21717)

This commit is contained in:
Marcelo Jacobus
2021-09-30 08:53:04 -03:00
committed by GitHub
parent e031e75622
commit aed6c1654f
16702 changed files with 420299 additions and 77868 deletions

View File

@@ -147,7 +147,8 @@ describe('header', () => {
expect(ghe.attr('class').includes('active')).toBe(false)
})
test("point to homepages in the current page's language", async () => {
// Skipped. See issues/923
test.skip("point to homepages in the current page's language", async () => {
const $ = await getDOM(
'/ja/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests'
)

View File

@@ -697,9 +697,9 @@ describe('URLs by language', () => {
test('heading IDs and links on translated pages are in English', async () => {
const $ = await getDOM('/ja/actions/using-github-hosted-runners/about-github-hosted-runners')
expect($.res.statusCode).toBe(200)
expect($('h3[id="further-reading"]').length).toBe(1)
expect($('h2[id="further-reading"]').length).toBe(1)
expect($('h3[id="参考リンク"]').length).toBe(0)
expect($('h3 a[href="#further-reading"]').length).toBe(1)
expect($('h2 a[href="#further-reading"]').length).toBe(1)
})
})