mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
update e2e tests for settings initialization
This commit is contained in:
parent
35a558ec01
commit
b2307d911e
5 changed files with 80 additions and 34 deletions
|
|
@ -2,6 +2,9 @@ describe('document-detail', () => {
|
|||
beforeEach(() => {
|
||||
this.modifiedDocuments = []
|
||||
|
||||
cy.intercept('http://localhost:8000/api/frontend_settings/', {
|
||||
fixture: 'frontend_settings/settings.json',
|
||||
})
|
||||
cy.fixture('documents/documents.json').then((documentsJson) => {
|
||||
cy.intercept('GET', 'http://localhost:8000/api/documents/1/', (req) => {
|
||||
let response = { ...documentsJson }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue