mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #52421 from nextcloud/backport/51309/stable30
[stable30] test(cypress): rename select all clear
This commit is contained in:
commit
6993031235
1 changed files with 1 additions and 2 deletions
|
|
@ -159,8 +159,7 @@ export const renameFile = (fileName: string, newFileName: string) => {
|
|||
// intercept the move so we can wait for it
|
||||
cy.intercept('MOVE', /\/remote.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')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue