client icon indicating copy to clipboard operation
client copied to clipboard

wait for files to sync after adding user to the client

Open sushmita56 opened this issue 3 years ago • 4 comments

closes:https://github.com/owncloud/client/issues/9850 Debugging has shown that the scenario sharee edits content of files shared by sharer from test/gui/tst_sharing suite was failing because the files may not be synced to the server just after their modification. So, our test may not find the files with the modified content on the server. Thus for that reason, here I've added a step to wait for files to sync after each overwrites.

Also, it is reasonable to add wait for files to sync after a user has been added to the client, as mentioned in issue

sushmita56 avatar Jul 21 '22 08:07 sushmita56

Results for GUI-tests https://drone.owncloud.com/owncloud/client/12677/6/1

:boom: The GUI tests failed.

GUI Logs: https://cache.owncloud.com/public/owncloud/client/12677/guiReportUpload/index.html

Server Logs: https://cache.owncloud.com/public/owncloud/client/12677/guiReportUpload/serverlog.log

Screenshots:

ownclouders avatar Jul 22 '22 04:07 ownclouders

@sushmita56 does And the user waits for the files to sync step has the problem that leads to intermittent failure???

@amrita-shrestha IMO, As far as reliability is concerned, the step And the user waits for the file "simple-folder/textfile.txt" to sync is more reliable than step And the user waits for the files to sync since it waits for each individual file to sync.

amrita-shrestha avatar Jul 25 '22 11:07 amrita-shrestha

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Jul 29 '22 05:07 sonarqubecloud[bot]

Currently on hold due to intermittent failure.

sushmita56 avatar Aug 01 '22 04:08 sushmita56

will be done in PR https://github.com/owncloud/client/pull/10088

saw-jan avatar Sep 12 '22 07:09 saw-jan