diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2025-03-06 16:08:18 +0100 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2025-04-24 23:25:23 +0200 |
commit | 3b85743cf9c229c8ac2ee58525734155cafb77de (patch) | |
tree | c75a8058266e8982376a74687040c732942f0f7f | |
parent | 34949e4a3664c06319fc7cf19bd21c757ef8994b (diff) | |
download | nextcloud-server-3b85743cf9c229c8ac2ee58525734155cafb77de.tar.gz nextcloud-server-3b85743cf9c229c8ac2ee58525734155cafb77de.zip |
fix(cypress): rename select all clear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
-rw-r--r-- | cypress/e2e/files/FilesUtils.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cypress/e2e/files/FilesUtils.ts b/cypress/e2e/files/FilesUtils.ts index c9d93f49c13..970eb636f58 100644 --- a/cypress/e2e/files/FilesUtils.ts +++ b/cypress/e2e/files/FilesUtils.ts @@ -181,8 +181,7 @@ export const renameFile = (fileName: string, newFileName: string) => { // intercept the move so we can wait for it cy.intercept('MOVE', /\/(remote|public)\.php\/dav\/files\//).as('moveFile') - getRowForFile(fileName).find('[data-cy-files-list-row-name] input').clear() - getRowForFile(fileName).find('[data-cy-files-list-row-name] input').type(`${newFileName}{enter}`) + getRowForFile(fileName).find('[data-cy-files-list-row-name] input').type(`{selectAll}${newFileName}{enter}`) cy.wait('@moveFile') } |