A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Update tasks e2e tests to cypress 10
Michael Shamoon1120e823ed09
diff --git a/src-ui/cypress/e2e/documents/tasks.spec.ts b/src-ui/cypress/e2e/tasks/tasks.cy.tssimilarity index 84%rename from src-ui/cypress/e2e/documents/tasks.spec.tsrename to src-ui/cypress/e2e/tasks/tasks.cy.tsindex 5f95978a5..b68de3be1 100644--- a/src-ui/cypress/e2e/documents/tasks.spec.ts+++ b/src-ui/cypress/e2e/tasks/tasks.cy.ts@@ -2,16 +2,6 @@ describe('tasks', () => {beforeEach(() => {this.dismissedTasks = new Set<number>()- cy.intercept('http://localhost:8000/api/ui_settings/', {- fixture: 'ui_settings/settings.json',- })- cy.intercept('http://localhost:8000/api/correspondents/*', {- fixture: 'correspondents/correspondents.json',- })- cy.intercept('http://localhost:8000/api/tags/*', {- fixture: 'tags/tags.json',- })-cy.fixture('tasks/tasks.json').then((tasksViewsJson) => {// acknowledge tasks POSTcy.intercept(diff --git a/src/documents/signals/handlers.py b/src/documents/signals/handlers.pyindex 07d0392b5..ecf4bb745 100644--- a/src/documents/signals/handlers.py+++ b/src/documents/signals/handlers.py@@ -516,7 +516,6 @@ def init_paperless_task(sender, task, **kwargs):@receiver(django_q.signals.pre_execute)def paperless_task_started(sender, task, **kwargs):- print(task)try:if task["func"] == "documents.tasks.consume_file":paperless_task = PaperlessTask.objects.get(task_id=task["id"])