ui5-uiveri5 icon indicating copy to clipboard operation
ui5-uiveri5 copied to clipboard

UIveri5 tests are very slow in execution.

Open Keerthu8999 opened this issue 2 years ago • 1 comments

Hello team,

We have some set of tests maintained in our spec file. For a few set of tests we are getting this error: Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

A single action/assertion is taking more than 4 minutes to be executed.

We are getting this error since 2 months and before the time, the tests were running fine.

We are not using browser.sleep in any of our tests.

Could you please let know the reason behind this issue?

Regards, Keerthana

Keerthu8999 avatar Aug 12 '22 05:08 Keerthu8999

Hello Keerthana,

The error which you describe can be caused by a lot of reasons. The most common reason is some change in the application which is not adapted in the test. Please take a closer look at the execution of your scenario and check whether the application is running slow, and the test is waiting too long for something to load.

Also please check whether your scenario is reporting same error executed locally and on central env (like Jenkins). In many cases when the test is run on slow machine (like Jenkins executors) it might fail with some timeout.

In order to be able to further support you, I will need more details from you, starting with the description above.

Best Regards, Hristo

From: Keerthana Sunder @.> Date: Friday, 12 August 2022, 8:22 To: SAP/ui5-uiveri5 @.> Cc: Subscribed @.***> Subject: [SAP/ui5-uiveri5] UIveri5 tests are very slow in execution. (Issue #370)

Hello team,

We have some set of tests maintained in our spec file. For a few set of tests we are getting this error: Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

We are getting this error since 2 months and before the time, the tests were running fine.

We are not using browser.sleep in any of our tests.

Could you please let know the reason behind this issue?

Regards, Keerthana

— Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSAP%2Fui5-uiveri5%2Fissues%2F370&data=05%7C01%7Christo.manchev%40sap.com%7Ca8d5cee8fc464b04fc6608da7c229654%7C42f7676cf455423c82f6dc2d99791af7%7C0%7C0%7C637958785231636699%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YyrWcZihdqnFzxk2Ehn6%2Bc5KVhkFQtDXGGWpoJXwFXA%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA6UCJJQZVAU5MCQKRWMXP3VYXNPTANCNFSM56KOMDYQ&data=05%7C01%7Christo.manchev%40sap.com%7Ca8d5cee8fc464b04fc6608da7c229654%7C42f7676cf455423c82f6dc2d99791af7%7C0%7C0%7C637958785231636699%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=C6PPL9doxJBmcK1rT4GAvZqv1rJJVyS3EJPMCvPk1uw%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>

hmanchev avatar Aug 12 '22 13:08 hmanchev