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 <[email protected]>
  • Loading branch information
artonge authored and backportbot[bot] committed Feb 26, 2024
1 parent 7d81010 commit e82ea32
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 e82ea32

Please sign in to comment.