mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(editor): Reka UI inline text edit component (#15752)
This commit is contained in:
@@ -68,8 +68,7 @@ export function getCredentialSaveButton() {
|
||||
*/
|
||||
|
||||
export function setCredentialName(name: string) {
|
||||
cy.getByTestId('credential-name').click();
|
||||
cy.getByTestId('credential-name').find('input').clear();
|
||||
cy.getByTestId('credential-name').find('span[data-test-id=inline-edit-preview]').click();
|
||||
cy.getByTestId('credential-name').type(name);
|
||||
}
|
||||
export function saveCredential() {
|
||||
|
||||
@@ -325,7 +325,7 @@ export function renameFolderFromListActions(folderName: string, newName: string)
|
||||
getListActionsToggle().click();
|
||||
getListActionItem('rename').click();
|
||||
getInlineEditInput().should('be.visible');
|
||||
getInlineEditInput().type(newName, { delay: 50 });
|
||||
getInlineEditInput().type(`${newName}{enter}`, { delay: 50 });
|
||||
successToast().should('exist');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user