vikunja/frontend/tests/factories
kolaente c06a33fb63 test(e2e): mirror task id to index in TaskFactory
Multiple TaskFactory.create(1, {id: N, ...}, false) calls for the same
project were all defaulting to index=1 (from {increment} with count=1),
which collides on the newly added UNIQUE(project_id, index) constraint.
Mirror the numeric id override to index so each row stays unique and
matches the id == index convention used by raw seedTasks helpers.

Fixes the e2e playwright seed failures in subtask-duplicates, list/table
filter/search, kanban filter/search, and overview specs.
2026-04-11 20:44:28 +00:00
..
bucket.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
label_task.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
labels.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
link_sharing.ts chore(deps): update dev-dependencies (major) (#1375) 2026-01-25 21:54:47 +01:00
project.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
project_view.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
saved_filter.ts feat(tasks): move tasks between projects with drag and drop (#1945) 2025-12-10 18:59:38 +00:00
task.ts test(e2e): mirror task id to index in TaskFactory 2026-04-11 20:44:28 +00:00
task_assignee.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
task_attachments.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
task_buckets.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
task_comment.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
task_relation.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
task_reminders.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
team.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
team_member.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
token.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00
user.ts chore(deps): update dev-dependencies (major) (#1375) 2026-01-25 21:54:47 +01:00
users_project.ts feat: migrate cypress e2e tests to playwright (#1739) 2025-11-27 16:34:48 +01:00