Closed SwikritiT closed 2 years ago
looks like it needed the same fix as done for https://github.com/owncloud/web/issues/6979
This test failed again today https://drone.owncloud.com/owncloud/web/25887/56/15
Some details are in https://github.com/owncloud/web/issues/6999 I will reopen that one and close this one.
Build: https://drone.owncloud.com/owncloud/web/25635/56/15
features/webUIRenameFiles/renameFiles.feature:257
``` Scenario: User tries to rename a file that used to exist but does not anymore # features/webUIRenameFiles/renameFiles.feature:257 - Connecting to selenium on port 4444... ℹ Connected to selenium on port 4444 (371ms). Using: chrome (94.0.4606.61) on Linux platform. Given user "Alice" has been created with default attributes and without skeleton files in the server And user "Alice" has uploaded file "lorem.txt" to "lorem.txt" in the server And user "Alice" has uploaded file "data.zip" to "data.zip" in the server And user "Alice" has uploaded file "lorem-big.txt" to "lorem-big.txt" in the server And user "Alice" has logged in using the webUI √ Element was visible after 891 milliseconds. √ Element was not present after 205 milliseconds. √ Element <#files-view> was visible after 660 milliseconds. And the user reloads the current page of the webUI Given the user has browsed to the personal page √ Element /nav[@id="files-breadcrumb"]//*[(self::a or self::button)]/span[contains(text(),'Personal')]> was visible after 351 milliseconds. And the following files have been deleted by user "Alice" in the server │ name │ │ lorem.txt │ When the user tries to rename file "lorem.txt" to "new-lorem.txt" using the webUI NoSuchElementError: An error occurred while running .getText() command on /span[contains(@class, "oc-resource-name") and (@data-test-resource-name='lorem.txt' or @data-test-resource-path='/lorem.txt')]>: {"sessionId":"bc181cb85f79b8cd068853f45b0510f6","status":0,"value":[]} at Proxy.checkFileName (/var/www/owncloud/web/tests/acceptance/pageObjects/FilesPageElement/filesList.js:365:18) at Proxy.waitForFileVisible (/var/www/owncloud/web/tests/acceptance/pageObjects/FilesPageElement/filesList.js:353:18) at Proxy.clickRow (/var/www/owncloud/web/tests/acceptance/pageObjects/FilesPageElement/filesList.js:282:18) at Proxy.openSideBar (/var/www/owncloud/web/tests/acceptance/pageObjects/FilesPageElement/filesList.js:272:18) at runMicrotasks (