diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2025-03-06 16:08:18 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-03-06 15:42:58 +0000 |
commit | 66ca99fe60fceb010f72d80007394b7aa5ed5a37 (patch) | |
tree | e266c46e15fbe36e6baf84d1a9fbe2dfa55d7411 | |
parent | b44f1568f2dc97c746281d99e2342ad679e3d8a9 (diff) | |
download | nextcloud-server-backport/51260/master.tar.gz nextcloud-server-backport/51260/master.zip |
fix(cypress): rename select all clearbackport/51260/master
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 a24351bd316..844fa030538 100644 --- a/cypress/e2e/files/FilesUtils.ts +++ b/cypress/e2e/files/FilesUtils.ts @@ -171,8 +171,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') } |