Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: apply prettier formatting
Signed-off-by: Benjamin Frueh <[email protected]>
  • Loading branch information
benjaminfrueh committed Sep 28, 2025
commit 297e69bd518ded753f8fa702d01eb0ff8fd60711
27 changes: 15 additions & 12 deletions cypress/e2e/conflict.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,21 @@ variants.forEach(function ({ fixture, mime }) {
getWrapper().should('not.exist')
})

it.only(prefix + ': no conflict when uploading same file content', function () {
cy.testName().then((testName) => {
cy.uploadFile(fileName, mime, `${testName}/${fileName}`)
cy.visitTestFolder()
cy.openFile(fileName)
cy.uploadFile(fileName, mime, `${testName}/${fileName}`)

cy.get('.text-editor .document-status').should('not.exist')
getWrapper().should('not.exist')
cy.getContent().should('not.contain', 'edited')
})
})
it.only(
prefix + ': no conflict when uploading same file content',
function () {
cy.testName().then((testName) => {
cy.uploadFile(fileName, mime, `${testName}/${fileName}`)
cy.visitTestFolder()
cy.openFile(fileName)
cy.uploadFile(fileName, mime, `${testName}/${fileName}`)

cy.get('.text-editor .document-status').should('not.exist')
getWrapper().should('not.exist')
cy.getContent().should('not.contain', 'edited')
})
},
)
})
})

Expand Down
Loading