feat(editor): Improve Data Table UX based on feedback (no-changelog) (#19312)

This commit is contained in:
Milorad FIlipović
2025-09-10 14:14:25 +02:00
committed by GitHub
parent 52d44c26db
commit 6e6a8f8be8
19 changed files with 250 additions and 102 deletions

View File

@@ -495,14 +495,14 @@ function confirmFolderDelete(folderName: string) {
function deleteFolderAndMoveContents(folderName: string, destinationName: string) {
cy.intercept('DELETE', '/rest/projects/**').as('deleteFolder');
getFolderDeleteModal().should('be.visible');
getFolderDeleteModal().find('h1').first().contains(`Delete "${folderName}"`);
getFolderDeleteModal().find('h1').first().contains(`Delete '${folderName}'`);
getTransferContentRadioButton().should('be.visible').click();
getMoveToFolderDropdown().click();
getMoveToFolderInput().type(destinationName);
getMoveToFolderOption(destinationName).click();
getDeleteFolderModalConfirmButton().should('be.enabled').click();
cy.wait('@deleteFolder');
successToast().should('contain.text', `Data transferred to "${destinationName}"`);
successToast().should('contain.text', `Data transferred to '${destinationName}'`);
}
function moveFolder(folderName: string, destinationName: string) {