mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Fix failing e2e settings test
[ci skip]
This commit is contained in:
		@@ -93,7 +93,7 @@ describe('settings', () => {
 | 
			
		||||
    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('Use PDF viewer provided by the browser').click().wait(1000) // await change to be registered
 | 
			
		||||
    cy.contains('button', 'Save').click().wait('@savedViews').wait(1000)
 | 
			
		||||
    cy.visit('/documents/1')
 | 
			
		||||
    cy.get('object[data*="/api/documents/1/preview/"]')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user