diff --git a/db/data/com.sap.developers.ims-LegacyRedirects.csv b/db/data/com.sap.developers.ims-LegacyRedirects.csv index 9ec0021dc..bc7112a92 100644 --- a/db/data/com.sap.developers.ims-LegacyRedirects.csv +++ b/db/data/com.sap.developers.ims-LegacyRedirects.csv @@ -16,7 +16,7 @@ ID;fromPath;toPath;statusCode;isPattern;isActive 66333900-1eaa-0001-0001-000000000015;^/(de|es|zh)$;/;301;true;true 66333900-1eaa-0001-0001-000000000016;^/(de|es|zh)/(.*)$;/$2;301;true;true 66333900-1eaa-0001-0001-000000000017;/cloud-sdk;/topics/cloud-sdk.html;301;false;true -66333900-1eaa-0001-0001-000000000018;/abap;/topics/abap-platform.html;301;false;true +66333900-1eaa-0001-0001-000000000018;/abap;https://pages.community.sap.com/topics/abap;301;false;true 66333900-1eaa-0001-0001-000000000019;/abapxml;/topics/abap-platform.html;301;false;true 66333900-1eaa-0001-0001-000000000020;/datahub;/group.datahub-docker.html;301;false;true 66333900-1eaa-0001-0001-000000000021;/tutorials/ml-fs-sapui5-series-changepoint-detection.html;/group.ml-fs-api-hub.html;301;false;true diff --git a/test/smoke/content-signal.test.js b/test/smoke/content-signal.test.js index 14cc4ce02..dfa7399a2 100644 --- a/test/smoke/content-signal.test.js +++ b/test/smoke/content-signal.test.js @@ -13,7 +13,7 @@ describe('AI bot signal headers', () => { }); it('tutorial page (HANA-served) has the same headers', async () => { - const res = await fetchWithRetry(`${BASE_URL}/tutorials/`); + const res = await fetchWithRetry(`${BASE_URL}/tutorials/abap-dev-create-table/`); expect(res.headers.get('content-signal')).toBeTruthy(); expect(res.headers.get('x-robots-tag')).toBeTruthy(); }); diff --git a/test/smoke/redirects.test.js b/test/smoke/redirects.test.js index 254fa7419..d0afc6afd 100644 --- a/test/smoke/redirects.test.js +++ b/test/smoke/redirects.test.js @@ -30,9 +30,9 @@ describe('Migrated AEM redirects (#752)', () => { expect(res.headers.get('location')).toBe('https://community.sap.com/topics/leonardo'); }); - it('GET /abap 301s to the same-origin topic page', async () => { + it('GET /abap 301s to the SAP Community ABAP topic page', async () => { const res = await fetchWithRetry(`${BASE_URL}/abap`); expect(res.status).toBe(301); - expect(res.headers.get('location')).toBe('/topics/abap-platform.html'); + expect(res.headers.get('location')).toBe('https://pages.community.sap.com/topics/abap'); }); });