diff options
author | Eloy Robillard <eloy.robillard@gmail.com> | 2024-04-16 17:05:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 15:05:06 +0000 |
commit | 643caf0da12d4ffb39989a39931cf0769f1246a0 (patch) | |
tree | fbfd0d9f95046050da30281591a45f58daaeff79 /test/playwright/playwright-util.js | |
parent | 82bb9deafaf57b11edb7a72bb1a63563f4ae1963 (diff) |
Revert to using canAddNotes (#827)
Fix #818
Diffstat (limited to 'test/playwright/playwright-util.js')
-rw-r--r-- | test/playwright/playwright-util.js | 2 |
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 []; |