From b55ef4104934450666207843ba1972d06340e3b1 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Fri, 28 Jun 2024 14:21:22 +0200 Subject: [PATCH] test(rich_workspace): never add rich workspace property to nesteds Signed-off-by: Grigorii K. Shartsev --- cypress/e2e/propfind.spec.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/propfind.spec.js b/cypress/e2e/propfind.spec.js index 7b53b9308bf..471fe662920 100644 --- a/cypress/e2e/propfind.spec.js +++ b/cypress/e2e/propfind.spec.js @@ -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 @@ -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, '## Hello world\n') }) - }) describe('with workspaces disabled', function() {