diff options
Diffstat (limited to 'cypress/e2e/files/files-sidebar.cy.ts')
-rw-r--r-- | cypress/e2e/files/files-sidebar.cy.ts | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/cypress/e2e/files/files-sidebar.cy.ts b/cypress/e2e/files/files-sidebar.cy.ts index 3d604530c76..f5c4205c462 100644 --- a/cypress/e2e/files/files-sidebar.cy.ts +++ b/cypress/e2e/files/files-sidebar.cy.ts @@ -1,23 +1,6 @@ /** - * @copyright Copyright (c) 2024 Ferdinand Thiessen <opensource@fthiessen.de> - * - * @author Ferdinand Thiessen <opensource@fthiessen.de> - * - * @license AGPL-3.0-or-later - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later */ import type { User } from '@nextcloud/cypress' @@ -87,9 +70,8 @@ describe('Files: Sidebar', { testIsolation: true }, () => { // open the sidebar triggerActionForFile('file', 'details') // validate it is open - cy.get('[data-cy-sidebar]').should('be.visible') - // wait for the sidebar to be settled - cy.wait(500) + cy.get('[data-cy-sidebar]') + .should('be.visible') // if we navigate to the folder navigateToFolder('folder') @@ -132,8 +114,6 @@ describe('Files: Sidebar', { testIsolation: true }, () => { // validate it is open cy.get('[data-cy-sidebar]').should('be.visible') cy.url().should('contain', `apps/files/files/${otherFileId}`) - // wait for the sidebar to be settled - cy.wait(500) triggerActionForFile('other', 'delete') cy.wait('@deleteFile') |