aboutsummaryrefslogtreecommitdiffstats
path: root/cypress/e2e/files/files.cy.ts
blob: 900be849d9bd4a840f7997d24935add7702c67f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
describe('Files', { testIsolation: true }, () => {
	beforeEach(() => {
		cy.createRandomUser().then((user) => {
			cy.login(user)
		})
	})

	it('Login with a user and open the files app', () => {
		cy.visit('/apps/files')
		cy.get('[data-cy-files-list] [data-cy-files-list-row-name="welcome.txt"]').should('be.visible')
	})
})