diff --git a/e2e/src/api/specs/shared-link.e2e-spec.ts b/e2e/src/api/specs/shared-link.e2e-spec.ts
index 3448b2c5f2..e62d18b72d 100644
--- a/e2e/src/api/specs/shared-link.e2e-spec.ts
+++ b/e2e/src/api/specs/shared-link.e2e-spec.ts
@@ -112,6 +112,13 @@ describe('/shared-links', () => {
expect(resp.header['content-type']).toContain('text/html');
expect(resp.text).toContain(``);
});
+
+ it('should have fqdn og:image meta tag for shared asset', async () => {
+ const resp = await request(shareUrl).get(`/${linkWithAssets.key}`);
+ expect(resp.status).toBe(200);
+ expect(resp.header['content-type']).toContain('text/html');
+ expect(resp.text).toContain(`
-
+ {#if $page.data.meta.imageUrl}
+
+ {/if}
-
+ {#if $page.data.meta.imageUrl}
+
+ {/if}
{/if}