diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2025-03-06 16:08:18 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-04-24 21:38:42 +0000 |
commit | b3ca9c0becd79cc6b97f66fc016527e6a99ef991 (patch) | |
tree | 92f8e668c81752f26495f51b6d099543dcd413a1 | |
parent | 989f24fea6af7c16999591abc89f6396e2cccf2e (diff) | |
download | nextcloud-server-backport/51309/stable31.tar.gz nextcloud-server-backport/51309/stable31.zip |
fix(cypress): rename select all clearbackport/51309/stable31
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 0e2081b6845..d8dd8ee5588 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') } |