aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2024-12-03 16:25:20 -0800
committerChristopher Ng <chrng8@gmail.com>2024-12-03 16:25:34 -0800
commit228d8c9de6fd5198df9c77f58bec8b06bfd23b82 (patch)
tree17553b64d24d9468f275a68d40947ccfed78750e /cypress
parentf149bd0657a39e0ae15865bcae0c239f09e698cc (diff)
downloadnextcloud-server-228d8c9de6fd5198df9c77f58bec8b06bfd23b82.tar.gz
nextcloud-server-228d8c9de6fd5198df9c77f58bec8b06bfd23b82.zip
test(files): Update tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/files_sharing/public-share/view_view-only-no-download.cy.ts4
-rw-r--r--cypress/e2e/files_sharing/public-share/view_view-only.cy.ts4
2 files changed, 0 insertions, 8 deletions
diff --git a/cypress/e2e/files_sharing/public-share/view_view-only-no-download.cy.ts b/cypress/e2e/files_sharing/public-share/view_view-only-no-download.cy.ts
index abcb9ccae62..0e2d2edab6c 100644
--- a/cypress/e2e/files_sharing/public-share/view_view-only-no-download.cy.ts
+++ b/cypress/e2e/files_sharing/public-share/view_view-only-no-download.cy.ts
@@ -96,9 +96,5 @@ describe('files_sharing: Public share - View only', { testIsolation: true }, ()
// wait for file list to be ready
getRowForFile('foo.txt')
.should('be.visible')
-
- cy.contains('button', 'New')
- .should('be.visible')
- .and('be.disabled')
})
})
diff --git a/cypress/e2e/files_sharing/public-share/view_view-only.cy.ts b/cypress/e2e/files_sharing/public-share/view_view-only.cy.ts
index 709908f8f6c..511a1caeb09 100644
--- a/cypress/e2e/files_sharing/public-share/view_view-only.cy.ts
+++ b/cypress/e2e/files_sharing/public-share/view_view-only.cy.ts
@@ -78,10 +78,6 @@ describe('files_sharing: Public share - View only', { testIsolation: true }, ()
// wait for file list to be ready
getRowForFile('foo.txt')
.should('be.visible')
-
- cy.contains('button', 'New')
- .should('be.visible')
- .and('be.disabled')
})
it('Only download action is actions available', () => {