aboutsummaryrefslogtreecommitdiff
path: root/test/playwright
diff options
context:
space:
mode:
authorEloy Robillard <eloy.robillard@gmail.com>2024-03-18 12:19:27 +0100
committerGitHub <noreply@github.com>2024-03-18 11:19:27 +0000
commit7ee76d708934adeef06479f7757beb22c6c01d14 (patch)
treec03ad4227e8a71939bb5efddffe57fa21a75b043 /test/playwright
parent4fe881d68d4c1182bee2e78a559c2064aaf48b0d (diff)
Add an option to allow both viewing and adding duplicates (#693)
* Detect duplicates when checking if can add note * Display the stacked add buttons
Diffstat (limited to 'test/playwright')
-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 1ea2e604..5481eb75 100644
--- a/test/playwright/playwright-util.js
+++ b/test/playwright/playwright-util.js
@@ -114,7 +114,7 @@ export function getExpectedAddNoteBody() {
deckName: 'Mock Deck',
modelName: 'Mock Model',
options: {
- allowDuplicate: false,
+ allowDuplicate: true,
duplicateScope: 'collection',
duplicateScopeOptions: {
deckName: null,