-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test fails on busy animation (before timeout) #358
Comments
Hi, Could you please try to reproduce it manually? Try to execute the steps several times and I suppose the issue should be reproduced. If the page just stays in the busy animation state, during manual execution, it shows a problem in the app. Best Regards, |
Hi Hristo, I reproduced it (i.e. by running uiveri5 locally and watching the test browser window) and found the page is loading normally as expected. Also in the screenshots of the subsequent tests, we see the page has finished loading. It seems uiveri5 is checking one or two seconds too early on the affected runs. Best Regards., |
Hi Steffen, What version of UI5 is running your application? If you are running with old version, maybe you are hitting an issue which is already fixed. Also do you have any page refresh in your script? Best Regards, |
Last failure we had was with version v1.47.4 Also no, we do not perform any page refresh within our test |
This definitely explains your problem - we had na issue in the synchronization which was fixed somewhere around UI5 version 1.7X. If you update your UI5 version, the issue should be gone. |
Was there any change to another repo or similar ?
Also Installing with |
Here I am pointing the UI5 version which is used in the app under test. |
Oh sorry, I misread. The App Under Test is running with UI5 version 1.97.0 (202112011147) |
Ok, in this case I will need more logs from your test execution. Then please send me the logs as a file (there will be a lot of logs). |
In our test, we check if the new page is loaded and visible. This check fails sometimes (1 in 5-10 runs). Screenshots of the failed runs show the application is still in the busy animation and the next page hasn't load yet.
The actual code we use to verify if the control is visible is:
The timeouts we used are the following, usually the test completes in ~35s, the test-step in approximately 6-8s:
(however we found in instances the test failed, the step usually only took ~4s)
The Test log of a failed run.
The text was updated successfully, but these errors were encountered: