mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	test changing pdf viewer
This commit is contained in:
		| @@ -72,4 +72,14 @@ describe('settings', () => { | ||||
|     cy.visit('/dashboard') | ||||
|     cy.get('app-saved-view-widget').contains('Inbox').should('not.exist') | ||||
|   }) | ||||
|  | ||||
|   it('should change the pdf viewer type', () => { | ||||
|     cy.visit('/documents/1') | ||||
|     cy.get('object[data*="/api/documents/1/preview/"]').should('not.exist') | ||||
|     cy.visit('/settings') | ||||
|     cy.contains('Use PDF viewer provided by the browser').click() | ||||
|     cy.contains('button', 'Save').click() | ||||
|     cy.visit('/documents/1') | ||||
|     cy.get('object[data*="/api/documents/1/preview/"]') | ||||
|   }) | ||||
| }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon