From 3040158e4e3521dc350b0a10424cd0a25dfe503c Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 15 Sep 2022 22:33:33 +0200 Subject: [PATCH] Fix cypress test --- .../integration/frontend/instruments/module-page.spec.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/cypress/integration/frontend/instruments/module-page.spec.js b/client/cypress/integration/frontend/instruments/module-page.spec.js index a2594cfc..c858ed41 100644 --- a/client/cypress/integration/frontend/instruments/module-page.spec.js +++ b/client/cypress/integration/frontend/instruments/module-page.spec.js @@ -26,7 +26,11 @@ describe('Instruments on Module page', () => { title: 'Some Chapter', contentBlocks: [ { - 'type': 'base_communication', + 'type': 'instrument', + instrumentCategory: { + id: 'category-id', + name: 'Sprache & Kommunikation' + }, 'title': 'Das Interview', 'contents': [ { @@ -40,6 +44,7 @@ describe('Instruments on Module page', () => { { 'type': 'normal', 'title': 'Normaler Block', + instrumentCategory: null, 'contents': [ { type: 'text_block',