fix(tests): Files are sorted by Name by default, no need to click it

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2025-03-25 13:06:14 +01:00
parent 2d813f15ab
commit 7f132f72ed
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -166,7 +166,6 @@ describe('Files: Sorting the file list', { testIsolation: true }, () => {
cy.visit('/apps/files')
cy.log('By name - ascending')
cy.get('th').contains('button', 'Name').click()
cy.contains('th', 'Name').should('have.attr', 'aria-sort', 'ascending')
cy.get('[data-cy-files-list-row]').each(($row, index) => {