Skip to content

Commit

Permalink
Update file manager functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ana-mauricio committed Dec 5, 2024
1 parent 4f0e681 commit 455d782
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,8 @@ export class Admin {

createFolder(folderName){
cy.xpath('//div[@class="modal-content"]//header//h5[text()="Create Folder"]').should('be.visible');
cy.get('input[placeholder="Untitled folder"]').should('be.visible');
cy.wait(2000);
cy.get('input[placeholder="Untitled folder"]').type(folderName, {delay:100});
cy.xpath('//div[@class="modal-content"]//footer//button[text()="Create"]').click();
cy.wait(4000);
Expand Down

0 comments on commit 455d782

Please sign in to comment.