aboutsummaryrefslogtreecommitdiff
path: root/test/playwright
diff options
context:
space:
mode:
Diffstat (limited to 'test/playwright')
-rw-r--r--test/playwright/playwright-util.js3
1 files changed, 2 insertions, 1 deletions
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}`);
}
}