From f2b3eb4eddb282d4eb88488b3dbc47c948891a6d Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Sun, 14 Apr 2024 18:34:20 +0200 Subject: fix (#811) --- test/playwright/playwright-util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/playwright/playwright-util.js b/test/playwright/playwright-util.js index 5481eb75..33d35027 100644 --- a/test/playwright/playwright-util.js +++ b/test/playwright/playwright-util.js @@ -138,9 +138,10 @@ function getResponseBody(action) { case 'deckNames': return ['Mock Deck']; case 'modelNames': return ['Mock Model']; case 'modelFieldNames': return [...getMockModelFields().keys()]; - case 'canAddNotes': return [true, true]; + case 'canAddNotesWithErrorDetail': return [{canAdd: true}, {canAdd: true}]; case 'storeMediaFile': return 'mock_audio.mp3'; case 'addNote': return 102312488912; + case 'multi': return []; default: throw new Error(`Unknown action: ${action}`); } } -- cgit v1.2.3