files.cy.ts 455 B

12345678910111213141516
  1. /**
  2. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. describe('Files', { testIsolation: true }, () => {
  6. beforeEach(() => {
  7. cy.createRandomUser().then((user) => {
  8. cy.login(user)
  9. })
  10. })
  11. it('Login with a user and open the files app', () => {
  12. cy.visit('/apps/files')
  13. cy.get('[data-cy-files-list] [data-cy-files-list-row-name="welcome.txt"]').should('be.visible')
  14. })
  15. })