tests(cypress): Revert filename to pass with example files on CI
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
@@ -122,10 +122,10 @@ describe('Card', function () {
|
|||||||
cy.get('button.icon-folder').should('be.visible')
|
cy.get('button.icon-folder').should('be.visible')
|
||||||
.click()
|
.click()
|
||||||
cy.get('.file-picker__main').should('be.visible')
|
cy.get('.file-picker__main').should('be.visible')
|
||||||
cy.get('.file-picker__main [data-filename="Nextcloud_Server_Administration_Manual.pdf"]', { timeout: 30000 }).should('be.visible')
|
cy.get('.file-picker__main [data-filename="welcome.txt"]', { timeout: 30000 }).should('be.visible')
|
||||||
.click()
|
.click()
|
||||||
cy.get('.dialog__actions button.button-vue--vue-primary').click()
|
cy.get('.dialog__actions button.button-vue--vue-primary').click()
|
||||||
cy.get('.attachment-list .basename').contains('Nextcloud_Server_Administration_Manual.pdf')
|
cy.get('.attachment-list .basename').contains('welcome.txt')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Shows the modal with the editor', () => {
|
it('Shows the modal with the editor', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user