Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion db/data/com.sap.developers.ims-LegacyRedirects.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/smoke/content-signal.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down
4 changes: 2 additions & 2 deletions test/smoke/redirects.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
});
Loading