X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fclient.ts;h=9a20c2a10361b29b52264b423d30e7993df04c57;hb=47d883de2efbc2e8b5f6f94ae18c15224cbe982b;hp=39ba5fdf69a25105b2ea337c5e145205dfa5b0a8;hpb=863477173efa82a4412d2e522aa46462249f9199;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/client.ts b/server/tests/client.ts index 39ba5fdf6..9a20c2a10 100644 --- a/server/tests/client.ts +++ b/server/tests/client.ts @@ -134,11 +134,9 @@ describe('Test a client controllers', function () { expectedStatus: HttpStatusCode.OK_200 }) - const port = servers[0].port - - const expectedLink = '` + const expectedLink = `` expect(res.text).to.contain(expectedLink) } @@ -155,10 +153,8 @@ describe('Test a client controllers', function () { expectedStatus: HttpStatusCode.OK_200 }) - const port = servers[0].port - - const expectedLink = '` expect(res.text).to.contain(expectedLink) @@ -229,6 +225,14 @@ describe('Test a client controllers', function () { } }) + it('Should have valid Open Graph tags on the watch page with thread id Angular param', async function () { + for (const path of watchVideoBasePaths) { + for (const id of videoIds) { + await watchVideoPageTest(path + id + ';threadId=1') + } + } + }) + it('Should have valid Open Graph tags on the watch playlist page', async function () { for (const path of watchPlaylistBasePaths) { for (const id of playlistIds) {