diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 2b22142ee..27d22dfd0 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -345,6 +345,10 @@ src/app/app.component.ts 172 + + src/app/components/manage/mail/mail.component.html + 4 + Workflows give you more control over the document pipeline. @@ -359,6 +363,10 @@ src/app/app.component.ts 188 + + src/app/components/admin/tasks/tasks.component.html + 4 + Check out the settings for various tweaks to the web app and toggle settings for saved views. @@ -392,25 +400,25 @@ Application Configuration src/app/components/admin/config/config.component.html - 1 + 2 - - Global Paperless-ngx configuration options + + Global app configuration options which apply to <strong>every</strong> user of this install of Paperless-ngx. Options can also be set using environment variables or the configuration file but the value here will always take precedence. src/app/components/admin/config/config.component.html - 1 + 4 src/app/components/admin/config/config.component.html - 8,9 + 14,15 src/app/components/admin/tasks/tasks.component.html - 11 + 16 src/app/components/common/input/tags/tags.component.html @@ -425,21 +433,21 @@ Read the documentation about this setting src/app/components/admin/config/config.component.html - 19 + 25 Enable src/app/components/admin/config/config.component.html - 30 + 36 Discard src/app/components/admin/config/config.component.html - 49 + 55 src/app/components/document-detail/document-detail.component.html @@ -450,11 +458,11 @@ Save src/app/components/admin/config/config.component.html - 52 + 58 src/app/components/admin/settings/settings.component.html - 337 + 342 src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html @@ -555,7 +563,7 @@ Logs src/app/components/admin/logs/logs.component.html - 1 + 2 src/app/components/app-frame/app-frame.component.html @@ -566,38 +574,45 @@ 324 - - Auto refresh + + Review the log files for the application and for email checking. src/app/components/admin/logs/logs.component.html 4 + + + Auto refresh + + src/app/components/admin/logs/logs.component.html + 8 + src/app/components/admin/tasks/tasks.component.html - 15 + 20 Loading... src/app/components/admin/logs/logs.component.html - 20 + 24 src/app/components/admin/logs/logs.component.html - 32 + 36 src/app/components/admin/settings/settings.component.html - 325 + 330 src/app/components/admin/tasks/tasks.component.html - 22 + 27 src/app/components/admin/users-groups/users-groups.component.html - 102 + 108 src/app/components/common/edit-dialog/mail-account-edit-dialog/mail-account-edit-dialog.component.html @@ -629,7 +644,7 @@ src/app/components/manage/mail/mail.component.html - 113 + 119 src/app/components/manage/management-list/management-list.component.html @@ -652,11 +667,11 @@ Settings src/app/components/admin/settings/settings.component.html - 1 + 2 src/app/components/admin/settings/settings.component.html - 284 + 289 src/app/components/app-frame/app-frame.component.html @@ -671,228 +686,235 @@ 281 + + Options to customize appearance, notifications, saved views and more. Settings apply to the <strong>current user only</strong>. + + src/app/components/admin/settings/settings.component.html + 4 + + Start tour src/app/components/admin/settings/settings.component.html - 2 + 7 Open Django Admin src/app/components/admin/settings/settings.component.html - 4 + 9 General src/app/components/admin/settings/settings.component.html - 15 + 20 Appearance src/app/components/admin/settings/settings.component.html - 18 + 23 Display language src/app/components/admin/settings/settings.component.html - 22 + 27 You need to reload the page after applying a new language. src/app/components/admin/settings/settings.component.html - 35 + 40 Date display src/app/components/admin/settings/settings.component.html - 43 + 48 Date format src/app/components/admin/settings/settings.component.html - 60 + 65 Short: src/app/components/admin/settings/settings.component.html - 66,67 + 71,72 Medium: src/app/components/admin/settings/settings.component.html - 70,71 + 75,76 Long: src/app/components/admin/settings/settings.component.html - 74,75 + 79,80 Items per page src/app/components/admin/settings/settings.component.html - 82 + 87 Document editor src/app/components/admin/settings/settings.component.html - 98 + 103 Use PDF viewer provided by the browser src/app/components/admin/settings/settings.component.html - 102 + 107 This is usually faster for displaying large PDF documents, but it might not work on some browsers. src/app/components/admin/settings/settings.component.html - 102 + 107 Sidebar src/app/components/admin/settings/settings.component.html - 109 + 114 Use 'slim' sidebar (icons only) src/app/components/admin/settings/settings.component.html - 113 + 118 Dark mode src/app/components/admin/settings/settings.component.html - 120 + 125 Use system settings src/app/components/admin/settings/settings.component.html - 123 + 128 Enable dark mode src/app/components/admin/settings/settings.component.html - 124 + 129 Invert thumbnails in dark mode src/app/components/admin/settings/settings.component.html - 125 + 130 Theme Color src/app/components/admin/settings/settings.component.html - 131 + 136 Reset src/app/components/admin/settings/settings.component.html - 140 + 145 Update checking src/app/components/admin/settings/settings.component.html - 145 + 150 Update checking works by pinging the public GitHub API for the latest release to determine whether a new version is available. Actual updating of the app must still be performed manually. src/app/components/admin/settings/settings.component.html - 149,152 + 154,157 No tracking data is collected by the app in any way. src/app/components/admin/settings/settings.component.html - 154,156 + 159,161 Enable update checking src/app/components/admin/settings/settings.component.html - 156 + 161 Bulk editing src/app/components/admin/settings/settings.component.html - 160 + 165 Show confirmation dialogs src/app/components/admin/settings/settings.component.html - 164 + 169 Deleting documents will always ask for confirmation. src/app/components/admin/settings/settings.component.html - 164 + 169 Apply on close src/app/components/admin/settings/settings.component.html - 165 + 170 Notes src/app/components/admin/settings/settings.component.html - 169 + 174 src/app/components/document-list/document-list.component.html @@ -907,14 +929,14 @@ Enable notes src/app/components/admin/settings/settings.component.html - 173 + 178 Permissions src/app/components/admin/settings/settings.component.html - 181 + 186 src/app/components/common/edit-dialog/group-edit-dialog/group-edit-dialog.component.html @@ -942,11 +964,11 @@ src/app/components/manage/mail/mail.component.html - 38 + 44 src/app/components/manage/mail/mail.component.html - 91 + 97 src/app/components/manage/management-list/management-list.component.html @@ -969,28 +991,28 @@ Default Permissions src/app/components/admin/settings/settings.component.html - 184 + 189 Settings apply to this user account for objects (Tags, Mail Rules, etc.) created via the web UI src/app/components/admin/settings/settings.component.html - 188,190 + 193,195 Default Owner src/app/components/admin/settings/settings.component.html - 195 + 200 Objects without an owner can be viewed and edited by all users src/app/components/admin/settings/settings.component.html - 199 + 204 src/app/components/common/input/permissions/permissions-form/permissions-form.component.html @@ -1001,18 +1023,18 @@ Default View Permissions src/app/components/admin/settings/settings.component.html - 204 + 209 Users: src/app/components/admin/settings/settings.component.html - 209 + 214 src/app/components/admin/settings/settings.component.html - 236 + 241 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html @@ -1035,11 +1057,11 @@ Groups: src/app/components/admin/settings/settings.component.html - 219 + 224 src/app/components/admin/settings/settings.component.html - 246 + 251 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html @@ -1062,14 +1084,14 @@ Default Edit Permissions src/app/components/admin/settings/settings.component.html - 231 + 236 Edit permissions also grant viewing permissions src/app/components/admin/settings/settings.component.html - 255 + 260 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html @@ -1084,56 +1106,56 @@ Notifications src/app/components/admin/settings/settings.component.html - 263 + 268 Document processing src/app/components/admin/settings/settings.component.html - 266 + 271 Show notifications when new documents are detected src/app/components/admin/settings/settings.component.html - 270 + 275 Show notifications when document processing completes successfully src/app/components/admin/settings/settings.component.html - 271 + 276 Show notifications when document processing fails src/app/components/admin/settings/settings.component.html - 272 + 277 Suppress notifications on dashboard src/app/components/admin/settings/settings.component.html - 273 + 278 This will suppress all messages about document processing status on the dashboard. src/app/components/admin/settings/settings.component.html - 273 + 278 Saved views src/app/components/admin/settings/settings.component.html - 281 + 286 src/app/components/app-frame/app-frame.component.html @@ -1144,14 +1166,14 @@ Show warning when closing saved views with unsaved changes src/app/components/admin/settings/settings.component.html - 287 + 292 Views src/app/components/admin/settings/settings.component.html - 291 + 296 src/app/components/document-list/document-list.component.html @@ -1162,19 +1184,19 @@ Name src/app/components/admin/settings/settings.component.html - 297 + 302 src/app/components/admin/tasks/tasks.component.html - 35 + 40 src/app/components/admin/users-groups/users-groups.component.html - 18 + 24 src/app/components/admin/users-groups/users-groups.component.html - 63 + 69 src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html @@ -1218,15 +1240,15 @@ src/app/components/manage/custom-fields/custom-fields.component.html - 14 + 20 src/app/components/manage/mail/mail.component.html - 17 + 23 src/app/components/manage/mail/mail.component.html - 70 + 76 src/app/components/manage/management-list/management-list.component.html @@ -1262,21 +1284,21 @@ src/app/components/manage/workflows/workflows.component.html - 14 + 20 Appears on src/app/components/admin/settings/settings.component.html - 301,302 + 306,307 Show on dashboard src/app/components/admin/settings/settings.component.html - 304 + 309 src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.html @@ -1287,7 +1309,7 @@ Show in sidebar src/app/components/admin/settings/settings.component.html - 308 + 313 src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.html @@ -1298,19 +1320,19 @@ Actions src/app/components/admin/settings/settings.component.html - 312 + 317 src/app/components/admin/tasks/tasks.component.html - 41 + 46 src/app/components/admin/users-groups/users-groups.component.html - 20 + 26 src/app/components/admin/users-groups/users-groups.component.html - 66 + 72 src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html @@ -1326,15 +1348,15 @@ src/app/components/manage/custom-fields/custom-fields.component.html - 16 + 22 src/app/components/manage/mail/mail.component.html - 19 + 25 src/app/components/manage/mail/mail.component.html - 72 + 78 src/app/components/manage/management-list/management-list.component.html @@ -1354,22 +1376,22 @@ src/app/components/manage/workflows/workflows.component.html - 18 + 24 Delete src/app/components/admin/settings/settings.component.html - 313 + 318 src/app/components/admin/users-groups/users-groups.component.html - 39 + 45 src/app/components/admin/users-groups/users-groups.component.html - 85 + 91 src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts @@ -1401,15 +1423,15 @@ src/app/components/manage/custom-fields/custom-fields.component.html - 35 + 41 src/app/components/manage/mail/mail.component.html - 43 + 49 src/app/components/manage/mail/mail.component.html - 96 + 102 src/app/components/manage/management-list/management-list.component.html @@ -1449,14 +1471,14 @@ src/app/components/manage/workflows/workflows.component.html - 39 + 45 No saved views defined. src/app/components/admin/settings/settings.component.html - 319 + 324 @@ -1545,7 +1567,7 @@ File Tasks src/app/components/admin/tasks/tasks.component.html - 1 + 2 src/app/components/app-frame/app-frame.component.html @@ -1556,7 +1578,7 @@ Clear selection src/app/components/admin/tasks/tasks.component.html - 6 + 11 src/app/components/manage/management-list/management-list.component.html @@ -1579,7 +1601,7 @@ Created src/app/components/admin/tasks/tasks.component.html - 36 + 41 src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html @@ -1602,28 +1624,28 @@ Results src/app/components/admin/tasks/tasks.component.html - 38 + 43 Info src/app/components/admin/tasks/tasks.component.html - 40 + 45 click for full output src/app/components/admin/tasks/tasks.component.html - 71 + 76 Dismiss src/app/components/admin/tasks/tasks.component.html - 88 + 93 src/app/components/admin/tasks/tasks.component.ts @@ -1634,49 +1656,49 @@ Open Document src/app/components/admin/tasks/tasks.component.html - 95 + 100 {VAR_PLURAL, plural, =1 {One task} other { total tasks}} src/app/components/admin/tasks/tasks.component.html - 114 + 119 ( selected) src/app/components/admin/tasks/tasks.component.html - 116 + 121 Failed src/app/components/admin/tasks/tasks.component.html - 128,130 + 133,135 Complete src/app/components/admin/tasks/tasks.component.html - 136,138 + 141,143 Started src/app/components/admin/tasks/tasks.component.html - 144,146 + 149,151 Queued src/app/components/admin/tasks/tasks.component.html - 152,154 + 157,159 @@ -1739,7 +1761,7 @@ Users & Groups src/app/components/admin/users-groups/users-groups.component.html - 1 + 2 src/app/components/app-frame/app-frame.component.html @@ -1750,11 +1772,18 @@ 299 + + Create, delete and edit users and groups. + + src/app/components/admin/users-groups/users-groups.component.html + 4 + + Users src/app/components/admin/users-groups/users-groups.component.html - 6 + 12 src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html @@ -1765,14 +1794,14 @@ Add User src/app/components/admin/users-groups/users-groups.component.html - 11 + 17 Username src/app/components/admin/users-groups/users-groups.component.html - 17 + 23 src/app/components/common/edit-dialog/mail-account-edit-dialog/mail-account-edit-dialog.component.html @@ -1787,11 +1816,11 @@ Groups src/app/components/admin/users-groups/users-groups.component.html - 19 + 25 src/app/components/admin/users-groups/users-groups.component.html - 51 + 57 src/app/components/common/edit-dialog/user-edit-dialog/user-edit-dialog.component.html @@ -1802,11 +1831,11 @@ Edit src/app/components/admin/users-groups/users-groups.component.html - 34 + 40 src/app/components/admin/users-groups/users-groups.component.html - 80 + 86 src/app/components/common/input/permissions/permissions-form/permissions-form.component.html @@ -1826,15 +1855,15 @@ src/app/components/manage/custom-fields/custom-fields.component.html - 30 + 36 src/app/components/manage/mail/mail.component.html - 33 + 39 src/app/components/manage/mail/mail.component.html - 86 + 92 src/app/components/manage/management-list/management-list.component.html @@ -1870,21 +1899,21 @@ src/app/components/manage/workflows/workflows.component.html - 34 + 40 Add Group src/app/components/admin/users-groups/users-groups.component.html - 56 + 62 No groups defined src/app/components/admin/users-groups/users-groups.component.html - 93 + 99 @@ -2269,7 +2298,7 @@ src/app/components/manage/custom-fields/custom-fields.component.html - 1 + 2 @@ -2284,7 +2313,7 @@ src/app/components/manage/workflows/workflows.component.html - 1 + 2 @@ -2871,7 +2900,7 @@ src/app/components/manage/mail/mail.component.html - 71 + 77 @@ -3356,7 +3385,7 @@ src/app/components/manage/workflows/workflows.component.html - 15 + 21 @@ -3367,7 +3396,7 @@ src/app/components/manage/workflows/workflows.component.html - 27 + 33 @@ -3378,7 +3407,7 @@ src/app/components/manage/workflows/workflows.component.html - 17 + 23 @@ -3887,6 +3916,20 @@ 16 + + What's this? + + src/app/components/common/page-header/page-header.component.html + 9 + + + + Read more + + src/app/components/common/page-header/page-header.component.html + 17 + + Set permissions @@ -4210,7 +4253,7 @@ src/app/components/manage/workflows/workflows.component.html - 16 + 22 @@ -5817,25 +5860,32 @@ 67 + + Customize the data fields that can be attached to documents. + + src/app/components/manage/custom-fields/custom-fields.component.html + 4 + + Add Field src/app/components/manage/custom-fields/custom-fields.component.html - 6 + 12 Data Type src/app/components/manage/custom-fields/custom-fields.component.html - 15 + 21 No fields defined. src/app/components/manage/custom-fields/custom-fields.component.html - 43 + 49 @@ -5891,56 +5941,56 @@ Mail Settings src/app/components/manage/mail/mail.component.html - 1 + 2 Mail accounts src/app/components/manage/mail/mail.component.html - 6 + 12 Add Account src/app/components/manage/mail/mail.component.html - 11 + 17 Server src/app/components/manage/mail/mail.component.html - 18 + 24 No mail accounts defined. src/app/components/manage/mail/mail.component.html - 51 + 57 Mail rules src/app/components/manage/mail/mail.component.html - 59 + 65 Add Rule src/app/components/manage/mail/mail.component.html - 64 + 70 No mail rules defined. src/app/components/manage/mail/mail.component.html - 104 + 110 @@ -6286,25 +6336,32 @@ 53 + + Use workflows to customize the behavior of Paperless-ngx when events 'trigger' a workflow. + + src/app/components/manage/workflows/workflows.component.html + 4 + + Add Workflow src/app/components/manage/workflows/workflows.component.html - 6 + 12 Disabled src/app/components/manage/workflows/workflows.component.html - 27 + 33 No workflows defined. src/app/components/manage/workflows/workflows.component.html - 47 + 53 diff --git a/src-ui/src/app/components/admin/config/config.component.html b/src-ui/src/app/components/admin/config/config.component.html index 53beb60e0..e2f8ab3b1 100644 --- a/src-ui/src/app/components/admin/config/config.component.html +++ b/src-ui/src/app/components/admin/config/config.component.html @@ -1,4 +1,10 @@ - + + diff --git a/src-ui/src/app/components/admin/logs/logs.component.html b/src-ui/src/app/components/admin/logs/logs.component.html index bf100b19c..b75f85ae5 100644 --- a/src-ui/src/app/components/admin/logs/logs.component.html +++ b/src-ui/src/app/components/admin/logs/logs.component.html @@ -1,4 +1,8 @@ - + Auto refresh diff --git a/src-ui/src/app/components/admin/settings/settings.component.html b/src-ui/src/app/components/admin/settings/settings.component.html index 07b062a00..305b5dd09 100644 --- a/src-ui/src/app/components/admin/settings/settings.component.html +++ b/src-ui/src/app/components/admin/settings/settings.component.html @@ -1,4 +1,9 @@ - + Start tour Open Django Admin diff --git a/src-ui/src/app/components/admin/tasks/tasks.component.html b/src-ui/src/app/components/admin/tasks/tasks.component.html index 21895b75d..52d85cc8e 100644 --- a/src-ui/src/app/components/admin/tasks/tasks.component.html +++ b/src-ui/src/app/components/admin/tasks/tasks.component.html @@ -1,4 +1,9 @@ - + diff --git a/src-ui/src/app/components/admin/users-groups/users-groups.component.html b/src-ui/src/app/components/admin/users-groups/users-groups.component.html index ce794f873..b6a2beaf0 100644 --- a/src-ui/src/app/components/admin/users-groups/users-groups.component.html +++ b/src-ui/src/app/components/admin/users-groups/users-groups.component.html @@ -1,4 +1,10 @@ - + @if (users) { diff --git a/src-ui/src/app/components/common/page-header/page-header.component.html b/src-ui/src/app/components/common/page-header/page-header.component.html index e3e631434..b0ced88a1 100644 --- a/src-ui/src/app/components/common/page-header/page-header.component.html +++ b/src-ui/src/app/components/common/page-header/page-header.component.html @@ -5,6 +5,22 @@ @if (subTitle) { {{subTitle}} } + @if (info) { + + + + + + + + @if (infoLink) { + Read more + + + + } + + } diff --git a/src-ui/src/app/components/common/page-header/page-header.component.ts b/src-ui/src/app/components/common/page-header/page-header.component.ts index 457bdfda5..ac4af7568 100644 --- a/src-ui/src/app/components/common/page-header/page-header.component.ts +++ b/src-ui/src/app/components/common/page-header/page-header.component.ts @@ -24,4 +24,10 @@ export class PageHeaderComponent { @Input() subTitle: string = '' + + @Input() + info: string + + @Input() + infoLink: string } diff --git a/src-ui/src/app/components/manage/custom-fields/custom-fields.component.html b/src-ui/src/app/components/manage/custom-fields/custom-fields.component.html index dc6628a6a..5cf7f2f30 100644 --- a/src-ui/src/app/components/manage/custom-fields/custom-fields.component.html +++ b/src-ui/src/app/components/manage/custom-fields/custom-fields.component.html @@ -1,4 +1,10 @@ - + diff --git a/src-ui/src/app/components/manage/custom-fields/custom-fields.component.spec.ts b/src-ui/src/app/components/manage/custom-fields/custom-fields.component.spec.ts index f40af6b19..412fe3cc1 100644 --- a/src-ui/src/app/components/manage/custom-fields/custom-fields.component.spec.ts +++ b/src-ui/src/app/components/manage/custom-fields/custom-fields.component.spec.ts @@ -90,7 +90,7 @@ describe('CustomFieldsComponent', () => { const toastInfoSpy = jest.spyOn(toastService, 'showInfo') const reloadSpy = jest.spyOn(component, 'reload') - const createButton = fixture.debugElement.queryAll(By.css('button'))[0] + const createButton = fixture.debugElement.queryAll(By.css('button'))[1] createButton.triggerEventHandler('click') expect(modal).not.toBeUndefined() @@ -114,7 +114,7 @@ describe('CustomFieldsComponent', () => { const toastInfoSpy = jest.spyOn(toastService, 'showInfo') const reloadSpy = jest.spyOn(component, 'reload') - const editButton = fixture.debugElement.queryAll(By.css('button'))[1] + const editButton = fixture.debugElement.queryAll(By.css('button'))[2] editButton.triggerEventHandler('click') expect(modal).not.toBeUndefined() @@ -139,7 +139,7 @@ describe('CustomFieldsComponent', () => { const deleteSpy = jest.spyOn(customFieldsService, 'delete') const reloadSpy = jest.spyOn(component, 'reload') - const deleteButton = fixture.debugElement.queryAll(By.css('button'))[3] + const deleteButton = fixture.debugElement.queryAll(By.css('button'))[4] deleteButton.triggerEventHandler('click') expect(modal).not.toBeUndefined() diff --git a/src-ui/src/app/components/manage/mail/mail.component.html b/src-ui/src/app/components/manage/mail/mail.component.html index b3c93d794..8040f5959 100644 --- a/src-ui/src/app/components/manage/mail/mail.component.html +++ b/src-ui/src/app/components/manage/mail/mail.component.html @@ -1,4 +1,10 @@ - + diff --git a/src-ui/src/app/components/manage/workflows/workflows.component.html b/src-ui/src/app/components/manage/workflows/workflows.component.html index f4fb3b328..096726bff 100644 --- a/src-ui/src/app/components/manage/workflows/workflows.component.html +++ b/src-ui/src/app/components/manage/workflows/workflows.component.html @@ -1,4 +1,10 @@ - + diff --git a/src-ui/src/app/components/manage/workflows/workflows.component.spec.ts b/src-ui/src/app/components/manage/workflows/workflows.component.spec.ts index 4382d56f5..1abbd2c5a 100644 --- a/src-ui/src/app/components/manage/workflows/workflows.component.spec.ts +++ b/src-ui/src/app/components/manage/workflows/workflows.component.spec.ts @@ -125,7 +125,7 @@ describe('WorkflowsComponent', () => { const toastInfoSpy = jest.spyOn(toastService, 'showInfo') const reloadSpy = jest.spyOn(component, 'reload') - const createButton = fixture.debugElement.queryAll(By.css('button'))[0] + const createButton = fixture.debugElement.queryAll(By.css('button'))[1] createButton.triggerEventHandler('click') expect(modal).not.toBeUndefined() @@ -149,7 +149,7 @@ describe('WorkflowsComponent', () => { const toastInfoSpy = jest.spyOn(toastService, 'showInfo') const reloadSpy = jest.spyOn(component, 'reload') - const editButton = fixture.debugElement.queryAll(By.css('button'))[1] + const editButton = fixture.debugElement.queryAll(By.css('button'))[2] editButton.triggerEventHandler('click') expect(modal).not.toBeUndefined() @@ -174,7 +174,7 @@ describe('WorkflowsComponent', () => { const deleteSpy = jest.spyOn(workflowService, 'delete') const reloadSpy = jest.spyOn(component, 'reload') - const deleteButton = fixture.debugElement.queryAll(By.css('button'))[3] + const deleteButton = fixture.debugElement.queryAll(By.css('button'))[4] deleteButton.triggerEventHandler('click') expect(modal).not.toBeUndefined()