-
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
.sendKeys doesn't work for sap.ui.unified.FileUploader on 1.108.X+ SAPUI5 version #379
Comments
Adding to that we've created an incident for the SAPUI5 core team: 2370013067 Because the uiveri5 library wasn't updated for 5 months, therefore it shouldn't be the root cause. Colleagues did reply to us with: If I understand correctly:
The issues here are:
Can you validate which HTML element is targeted by the test, what string and keys are executed via sendKeys, so we can recreate the test manually here http://snippix.only.sap/snippets/708088 Regards, CA-UI5-CTR Could you assist with their question? I'm not sure how we can check what specific input is used by .sendKeys for sap.ui.unified.FileUploader? Or better to say, when we are locating the FileUploader control, then what DOM part of it is returned for .sendKeys to be called. |
We were able to fix the issue by adding the The final locator looks like that: getFileUploaderById: function (id) {
return element(
by.control({
controlType: "sap.ui.unified.FileUploader",
id: id,
interaction: {
idSuffix: "fu"
}
})
);
}, |
Hello Colleagues,
We have recently updated our SAPUI5 version from 1.102.4 to 1.108.2 version.
With that, most of our E2E specs have stopped working.
That's due to the fact that
.sendKeys
no more "uploads" a file to thesap.ui.unified.FileUploader
.We've checked several times -> the locator is fine, no error on that step.
But in reality file path is not getting set -> file is not uploaded.
Specs still run fine when we switch to the SAPUI5 version back to 1.102.4.
Are you aware of what might be the reason or any workarounds?
System info:
SAPUI5: 1.108.2
UIVERI5: ^1.45.0
ChromeDriver: 107.0
PS: Same issue as #371
The text was updated successfully, but these errors were encountered: