mirror of
https://github.com/nextcloud/server.git
synced 2026-02-16 01:09:17 -05:00
Merge pull request #52422 from nextcloud/backport/51309/stable31
[stable31] test(cypress): rename select all clear
This commit is contained in:
commit
6661d29dca
1 changed files with 1 additions and 2 deletions
|
|
@ -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')
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue