mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-22 05:14:22 +00:00
Add how to update link
This commit is contained in:
3 files changed
+20
-1
No files matched your search
+8
@@ -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', () => {
|
||||
|
||||
Reference in new issue
Block a user