Rename a file or folder of the list, as a person does: "Actions", "Rename", the new name, Enter. The step waits for the server (its WebDAV MOVE) and for the list to show the new name.
Examples
When I rename "meeting-notes.md" to "minutes.md"
When I rename "Project files" to "Projects"
When we rename "budget.txt" to "budget-2027.txt"
And I rename "team-photo.png" to "team.png"
When I rename "minutes.md" to "meeting-notes.md"
Pattern
When(/^(?:I|we) rename "([^"]*)" to "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.