Add how to update link

This commit is contained in:
shamoon committed 2026-11-19 21:50:17 -08:00
1 parent f01c889806
commit 393efcfd65
3 files changed
+20 -1

No files matched your search

@@ -79,6 +79,9 @@ describe('ReleaseNotesDialogComponent', () => {
const text = fixture.nativeElement.textContent
expect(text).toContain('Updated from 3.4.2 to 3.5.1')
expect(text).toContain('Bug Fixes')
expect(
fixture.nativeElement.querySelector('.modal-footer a.btn-primary')
).toBeNull()
expect(
fixture.nativeElement.querySelector('.release-notes-body details summary')
.textContent
@@ -101,6 +104,11 @@ describe('ReleaseNotesDialogComponent', () => {
expect(component.releaseUrl).toEqual(
'https://github.com/paperless-ngx/paperless-ngx/releases/tag/v3.6.0'
)
expect(
fixture.nativeElement
.querySelector('.modal-footer a.btn-primary')
.getAttribute('href')
).toEqual('https://docs.paperless-ngx.com/administration/#updating')
})
it('should open release note links safely and drop svg icons', () => {