-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Slow test execution with SAP Fiori Elements test library #558
Comments
hi, thanks for checking in on this - the way we utilise the OData v4 test library from UI5 is by a simple wrapper, without adding any extra test library code. Thus the naming "Facade" in the "Fiori Elements Facade" aka "OData v4 test library Facade".
|
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
even though there has been no comment, posting here to say that we're actively looking into it, combined with #557 |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
we're actively looking into reducing complexity in the client-side serialization → @sebbi08 is on that and it might help here too. |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
hey @MiBe17, did the latest improvements help to speed things up for you? |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
closed 📴 because silencio 🤫 since an additional 14 days after staleness 📠 |
Describe the bug
We use the Fiori Elements Facade to test our FE app extensively and experience heavy performance problems in some cases. These problems occur mostly if we perform an action or an assertion on a control that exists multiple times on the current screen.
Example:
The statement above takes a really long time to execute, if we have a lot of elements in the table. I think this happens since the Fiori Elements Facade converts each and every list element to the respective UI5 representation before finding and clicking the one with the correct title. The same is true if we e.g. try to click a button, when there are a lot of other sap.m.Button elements on the same page.
In plain wdi5, we could just use the get shorthand conveniences to avoid the conversion to UI5 objects in order to improve performance. As far as I know, we do not have this option when using the Fiori Elements Facade.
Do you have any suggestions on how to improve performance in such cases?
Regards!
The text was updated successfully, but these errors were encountered: