Merge pull request #5027 from nextcloud/cypress/filepicker-27

This commit is contained in:
Julius Härtl
2023-08-18 18:54:13 +02:00
committed by GitHub

View File

@@ -110,9 +110,10 @@ describe('Card', function() {
cy.get('button.icon-upload').should('be.visible')
cy.get('button.icon-folder').should('be.visible')
.click()
cy.get('.oc-dialog #picker-filestable tr[data-entryname="welcome.txt"] td.filename').should('be.visible')
cy.get('.file-picker__main').should('be.visible')
cy.get('.file-picker__main .file-picker__file-name[title="welcome.txt"]').should('be.visible')
.click()
cy.get('.oc-dialog button.primary').click()
cy.get('.dialog__actions button.button-vue--vue-primary').click()
cy.get('.attachment-list .basename').contains('welcome.txt')
})