mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fix failing e2e settings test
[ci skip]
This commit is contained in:
parent
0c8eac8cc9
commit
918eb2e602
@ -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/"]')
|
||||
|
Loading…
x
Reference in New Issue
Block a user