Skip to content

Commit

Permalink
test(320): update ids after prod migration
Browse files Browse the repository at this point in the history
  • Loading branch information
hejtful committed Feb 27, 2025
1 parent fd4b55e commit 2320785
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e-tests/tests/320-save-and-check-api-result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const idsAndExpectedResult = {
metaDescription: '[meta-description]',
changes: '[test-edit]',
content:
'{"id":"d38ecf58-1ed7-4570-ad38-fa7ca0ef6dae","type":"https://serlo.org/editor","variant":"serlo-org","domainOrigin":"serlo.org","version":2,"editorVersion":"0.22.2","dateModified":"2025-02-18T16:12:56.617Z","document":{"plugin":"article","state":{"introduction":{"plugin":"articleIntroduction","state":{"explanation":{"plugin":"text","state":[{"type":"p","children":[{"text":""}]}],"id":"01b37bfd-023a-4d6e-8274-6b4d19f2cd18"},"multimedia":{"plugin":"image","state":{"src":"","caption":{"plugin":"text","state":[{"type":"p","children":[{"text":""}]}],"id":"5c437b1a-2bee-4f13-8d3c-ccb3b69cebf5"}},"id":"978d352f-382e-4f12-b2d4-5995cbcff8a2"},"illustrating":true,"width":50},"id":"a31910d7-b392-465d-ad2f-a7bb9c5eab88"},"content":{"plugin":"rows","state":[{"plugin":"text","state":[{"type":"p","children":[{"text":"hello fish"}]}],"id":"e9d094ab-23ea-4b05-87f3-12e0a0bb23aa"}],"id":"5f8afd08-8756-4b04-93e8-d0bf3a7cbab9"},"exercises":[],"exerciseFolder":{"id":"","title":""},"relatedContent":{"articles":[],"courses":[],"videos":[]},"sources":[]},"id":"b26b303e-3028-410f-8948-dad1c51a4063"}}',
'{"id":"aac4d103-70d9-4599-b2b1-27a662bf2c23","type":"https://serlo.org/editor","variant":"serlo-org","domainOrigin":"serlo.org","version":2,"editorVersion":"0.22.2","dateModified":"2025-02-18T16:12:56.617Z","document":{"plugin":"article","state":{"introduction":{"plugin":"articleIntroduction","state":{"explanation":{"plugin":"text","state":[{"type":"p","children":[{"text":""}]}],"id":"01b37bfd-023a-4d6e-8274-6b4d19f2cd18"},"multimedia":{"plugin":"image","state":{"src":"","caption":{"plugin":"text","state":[{"type":"p","children":[{"text":""}]}],"id":"5c437b1a-2bee-4f13-8d3c-ccb3b69cebf5"}},"id":"978d352f-382e-4f12-b2d4-5995cbcff8a2"},"illustrating":true,"width":50},"id":"a31910d7-b392-465d-ad2f-a7bb9c5eab88"},"content":{"plugin":"rows","state":[{"plugin":"text","state":[{"type":"p","children":[{"text":"hello fish"}]}],"id":"e9d094ab-23ea-4b05-87f3-12e0a0bb23aa"}],"id":"5f8afd08-8756-4b04-93e8-d0bf3a7cbab9"},"exercises":[],"exerciseFolder":{"id":"","title":""},"relatedContent":{"articles":[],"courses":[],"videos":[]},"sources":[]},"id":"b26b303e-3028-410f-8948-dad1c51a4063"}}',
},
},
},
Expand Down Expand Up @@ -158,7 +158,7 @@ const idsAndExpectedResult = {
metaDescription: '',
changes: 'Page',
content:
'{"id":"bf9e39bb-68a9-4a8c-ba00-a6eea8abf759","type":"https://serlo.org/editor","variant":"serlo-org","domainOrigin":"serlo.org","version":2,"editorVersion":"0.22.2","dateModified":"2025-02-18T16:13:29.835Z","document":{"plugin":"rows","state":[{"plugin":"text","state":[{"type":"p","children":[{"text":"Für Hintergrundinformationen zum Verein oder der Plattform, Gespräche oder Interviewanfragen nehmen Sie gerne jederzeit Kontakt mit uns auf über [email protected] auf. "}]}],"id":"3e7a83cc-ba26-4630-bf40-d0df0e4b8e43"},{"plugin":"text","state":[{"type":"h","level":2,"children":[{"text":"Bildmaterial"}]},{"type":"p","children":[{"text":"Hier finden Sie unser Logo, Bilder des Teams und der Mitgründer:innen, Bilder von Schüler:innen, die Serlo nutzen sowie Screenshots der Lernplattform zur Nutzung:"}]},{"type":"unordered-list","children":[{"type":"list-item","children":[{"type":"list-item-child","children":[{"type":"p","children":[{"text":""},{"type":"a","href":"https://docs.google.com/document/d/1qbchkH0T24aK2SHAgmns8o92T3MmSWPb1WSI2Ovz2z8/edit#","children":[{"text":"Übersicht mit Bildbeschreibungen"}]},{"text":""}]}]}]},{"type":"list-item","children":[{"type":"list-item-child","children":[{"type":"p","children":[{"text":""},{"type":"a","href":"https://drive.google.com/drive/folders/0B0vgO6Y0XakNVVJubzJBUFZmdU0","children":[{"text":"Ordner mit den Bilder in hoher Auflösung"}]},{"text":""}]}]}]}]}],"id":"d9b489ab-dc20-4b85-8265-b5c5c5010673"},{"plugin":"text","state":[{"type":"h","level":3,"children":[{"text":"Logo"}]}],"id":"73c500a5-47ec-48a3-9344-3ed0e5f92b39"},{"plugin":"pageLayout","state":{"widthPercent":50,"column1":{"plugin":"rows","state":[{"plugin":"image","state":{"src":"https://assets.serlo.org/fce27510-7d96-11ee-abd9-fb5c95e5b4f2/image.png","alt":"serlo.org Logo","caption":{"plugin":"text","state":[{"type":"p","children":[{"text":""}]}],"id":"2e202d50-be5f-4ad9-a343-9dd74490cbae"}},"id":"9df574dc-64d8-4071-bb20-0c20d35dd27c"},{"plugin":"text","state":[{"type":"p","children":[{"text":""}]}],"id":"ffced89f-d3ea-4da4-9569-ef75abb90568"}],"id":"ebfc99b3-b042-477f-a862-702cdeff33d0"},"column2":{"plugin":"rows","state":[{"plugin":"text","state":[{"type":"p","children":[{"text":"Herunterladen mit Rechtsklick auf das Logo und \\"Speichern unter\\".","em":true}]},{"type":"p","children":[{"text":"Bitte nur auf weißem oder hellgrauem Grund einbinden und etwas Weißraum um das Logo lassen – der Vogel braucht Platz zum Fliegen.","em":true}]}],"id":"7d0db9b6-5af1-4b11-bb9e-2e1af0d2f5d4"}],"id":"6ea8d876-7069-4924-8f8a-53c516a997cd"}},"id":"fd2a3680-49d3-421d-bbba-08d4557fe0c1"}],"id":"07f811b5-c499-4918-9a51-9ee9d8471a76"}}',
'{"id":"7b2cb2f1-57e3-4091-bb46-5073dc090624","type":"https://serlo.org/editor","variant":"serlo-org","domainOrigin":"serlo.org","version":2,"editorVersion":"0.22.2","dateModified":"2025-02-18T16:13:29.835Z","document":{"plugin":"rows","state":[{"plugin":"text","state":[{"type":"p","children":[{"text":"Für Hintergrundinformationen zum Verein oder der Plattform, Gespräche oder Interviewanfragen nehmen Sie gerne jederzeit Kontakt mit uns auf über [email protected] auf. "}]}],"id":"3e7a83cc-ba26-4630-bf40-d0df0e4b8e43"},{"plugin":"text","state":[{"type":"h","level":2,"children":[{"text":"Bildmaterial"}]},{"type":"p","children":[{"text":"Hier finden Sie unser Logo, Bilder des Teams und der Mitgründer:innen, Bilder von Schüler:innen, die Serlo nutzen sowie Screenshots der Lernplattform zur Nutzung:"}]},{"type":"unordered-list","children":[{"type":"list-item","children":[{"type":"list-item-child","children":[{"type":"p","children":[{"text":""},{"type":"a","href":"https://docs.google.com/document/d/1qbchkH0T24aK2SHAgmns8o92T3MmSWPb1WSI2Ovz2z8/edit#","children":[{"text":"Übersicht mit Bildbeschreibungen"}]},{"text":""}]}]}]},{"type":"list-item","children":[{"type":"list-item-child","children":[{"type":"p","children":[{"text":""},{"type":"a","href":"https://drive.google.com/drive/folders/0B0vgO6Y0XakNVVJubzJBUFZmdU0","children":[{"text":"Ordner mit den Bilder in hoher Auflösung"}]},{"text":""}]}]}]}]}],"id":"d9b489ab-dc20-4b85-8265-b5c5c5010673"},{"plugin":"text","state":[{"type":"h","level":3,"children":[{"text":"Logo"}]}],"id":"73c500a5-47ec-48a3-9344-3ed0e5f92b39"},{"plugin":"pageLayout","state":{"widthPercent":50,"column1":{"plugin":"rows","state":[{"plugin":"image","state":{"src":"https://assets.serlo.org/fce27510-7d96-11ee-abd9-fb5c95e5b4f2/image.png","alt":"serlo.org Logo","caption":{"plugin":"text","state":[{"type":"p","children":[{"text":""}]}],"id":"2e202d50-be5f-4ad9-a343-9dd74490cbae"}},"id":"9df574dc-64d8-4071-bb20-0c20d35dd27c"},{"plugin":"text","state":[{"type":"p","children":[{"text":""}]}],"id":"ffced89f-d3ea-4da4-9569-ef75abb90568"}],"id":"ebfc99b3-b042-477f-a862-702cdeff33d0"},"column2":{"plugin":"rows","state":[{"plugin":"text","state":[{"type":"p","children":[{"text":"Herunterladen mit Rechtsklick auf das Logo und \\"Speichern unter\\".","em":true}]},{"type":"p","children":[{"text":"Bitte nur auf weißem oder hellgrauem Grund einbinden und etwas Weißraum um das Logo lassen – der Vogel braucht Platz zum Fliegen.","em":true}]}],"id":"7d0db9b6-5af1-4b11-bb9e-2e1af0d2f5d4"}],"id":"6ea8d876-7069-4924-8f8a-53c516a997cd"}},"id":"fd2a3680-49d3-421d-bbba-08d4557fe0c1"}],"id":"07f811b5-c499-4918-9a51-9ee9d8471a76"}}',
},
},
},
Expand All @@ -171,7 +171,7 @@ const idsAndExpectedResult = {
uuid: {
title: 'Kulla',
description:
'{"id":"3ec1a50b-cc32-40cc-98ed-37d0632659af","type":"https://serlo.org/editor","variant":"serlo-org","domainOrigin":"serlo.org","version":2,"editorVersion":"0.22.0","dateModified":"2025-02-18T15:33:17.351Z","document":{"plugin":"rows","state":[{"plugin":"text","state":[{"type":"p","children":[{"text":"Hallo, mein Name ist Kulla und ich engagiere mich bereits seit 10 Jahren bei Serlo. Früher habe ich vor allem Inhalte zur Hochschulmathematik erstellt und habe mitgeholfen, diesen Bereich bei Serlo aufzubauen. Aktuell arbeite ich hauptamtlich als Programmierer bei Serlo und erstelle in meiner Freizeit vor allem Inhalte im Physik- und im Mathematikbereich."}]}],"id":"cad1f88f-19ce-4487-93b8-1c5f66e0b4b2"}],"id":"c0022339-4197-4ead-893d-c4775fc6b256"}}',
'{"id":"2eb77924-3693-4386-a056-f51556b562b1","type":"https://serlo.org/editor","variant":"serlo-org","domainOrigin":"serlo.org","version":2,"editorVersion":"0.22.0","dateModified":"2025-02-18T15:33:17.351Z","document":{"plugin":"rows","state":[{"plugin":"text","state":[{"type":"p","children":[{"text":"Hallo, mein Name ist Kulla und ich engagiere mich bereits seit 10 Jahren bei Serlo. Früher habe ich vor allem Inhalte zur Hochschulmathematik erstellt und habe mitgeholfen, diesen Bereich bei Serlo aufzubauen. Aktuell arbeite ich hauptamtlich als Programmierer bei Serlo und erstelle in meiner Freizeit vor allem Inhalte im Physik- und im Mathematikbereich."}]}],"id":"cad1f88f-19ce-4487-93b8-1c5f66e0b4b2"}],"id":"c0022339-4197-4ead-893d-c4775fc6b256"}}',
},
},
},
Expand Down

0 comments on commit 2320785

Please sign in to comment.