aboutsummaryrefslogtreecommitdiff
path: root/test/playwright/playwright-util.js
diff options
context:
space:
mode:
authorEloy Robillard <eloy.robillard@gmail.com>2024-04-16 17:05:06 +0200
committerGitHub <noreply@github.com>2024-04-16 15:05:06 +0000
commit643caf0da12d4ffb39989a39931cf0769f1246a0 (patch)
treefbfd0d9f95046050da30281591a45f58daaeff79 /test/playwright/playwright-util.js
parent82bb9deafaf57b11edb7a72bb1a63563f4ae1963 (diff)
Revert to using canAddNotes (#827)
Fix #818
Diffstat (limited to 'test/playwright/playwright-util.js')
-rw-r--r--test/playwright/playwright-util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/playwright/playwright-util.js b/test/playwright/playwright-util.js
index 33d35027..bebbf08c 100644
--- a/test/playwright/playwright-util.js
+++ b/test/playwright/playwright-util.js
@@ -138,7 +138,7 @@ function getResponseBody(action) {
case 'deckNames': return ['Mock Deck'];
case 'modelNames': return ['Mock Model'];
case 'modelFieldNames': return [...getMockModelFields().keys()];
- case 'canAddNotesWithErrorDetail': return [{canAdd: true}, {canAdd: true}];
+ case 'canAddNotes': return [true, true];
case 'storeMediaFile': return 'mock_audio.mp3';
case 'addNote': return 102312488912;
case 'multi': return [];