Skip to content

Commit

Permalink
Fix folder creation in e2e tests
Browse files Browse the repository at this point in the history
Adapte to server changes

Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Feb 27, 2024
1 parent 9e1ce0c commit 0741a28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/e2e/filesUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export function goToDir(dirName: string) {
export function createFolder (dirName: string) {
cy.get('.files-list__header .breadcrumb__actions button.action-item__menutoggle').click()
cy.get('.v-popper__popper').contains('New folder').click()
cy.get('.files-list form.files-list__row-rename input[type="text"]').clear().type(`${dirName}{enter}`)
cy.contains('Folder name').siblings('input').clear()
cy.contains('Folder name').siblings('input').type(`${dirName}{enter}`)
cy.log('Created folder', dirName)
cy.wait(500)
}
Expand Down

0 comments on commit 0741a28

Please sign in to comment.