From 643caf0da12d4ffb39989a39931cf0769f1246a0 Mon Sep 17 00:00:00 2001 From: Eloy Robillard Date: Tue, 16 Apr 2024 17:05:06 +0200 Subject: Revert to using canAddNotes (#827) Fix #818 --- test/playwright/playwright-util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/playwright') 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 []; -- cgit v1.2.3