Skip to content

Commit b55ef41

Browse files
committed
test(rich_workspace): never add rich workspace property to nesteds
Signed-off-by: Grigorii K. Shartsev <[email protected]>
1 parent 2d2f5fb commit b55ef41

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cypress/e2e/propfind.spec.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ describe('Text PROPFIND extension ', function() {
4040
.should('have.property', richWorkspace, '')
4141
})
4242

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

6058
describe('with workspaces disabled', function() {

0 commit comments

Comments
 (0)