Skip to content

Commit

Permalink
test(rich_workspace): never add rich workspace property to nesteds
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <[email protected]>
  • Loading branch information
ShGKme committed Jun 28, 2024
1 parent 2d2f5fb commit 4a48aa3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cypress/e2e/propfind.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ describe('Text PROPFIND extension ', function() {
.should('have.property', richWorkspace, '')
})

// Android app relies on this when navigating nested folders
it('adds rich workspace property to nested folders', function() {
it('never adds rich workspace property to nested folders', function() {
cy.createFolder('/workspace')
// FIXME: Ideally we do not need a page context for those tests at all
// For now the dashboard avoids that we have failing requests due to conflicts when updating the file
Expand All @@ -52,9 +51,8 @@ describe('Text PROPFIND extension ', function() {
cy.uploadFile('test.md', 'text/markdown', '/workspace/Readme.md')
cy.propfindFolder('/', 1)
.then(results => results.pop().propStat[0].properties)
.should('have.property', richWorkspace, '## Hello world\n')
.should('not.have.property', richWorkspace)
})

})

describe('with workspaces disabled', function() {
Expand Down

0 comments on commit 4a48aa3

Please sign in to comment.