-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
MenuItems not showing up after press on MenuButton under Linux + Firefox #644
Comments
Hi @sebage, first of all thanks for such a detailed bug report! I will try to reproduce it (will take a little bit of time as I don't have a Linux machine right next to me 😄). Could you maybe try if the native wdio click is working? const menuButton = await browser.asControl({
forceSelect: true,
selector: {
id: "application-serialnumber-analyze-component---detailFullscreenView--tableNavigationMenuButton"
}
})
const wdioMenuButton = await menuButton.getWebElement()
await wdioMenuButton.click() If the wdio click is working probably something with interactWithControl is wrong |
Hi @Siolto i have created a sample, was just about to post it 😄 Will also try the native wdio click. I have now been able to create following spec to reproduce the issue. It uses the sap.m.MenuButton sample app from UI5. Tested with latest UI5 version and 1.120.21, both showing the issue, that the test fails using Linux and Firefox. Interestingly this also fails when using Windows 11 and Firefox on saucelabs, but works on my local machine (Windows 11, Firefox 131).
|
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
Describe the bug
In our application we have several locations with MenuButtons. When running the tests under Linux and Firefox, the MenuItems are not showing up on a press:
await browser.asControl(oControlSelector).press();
Control selectors:
also tried the internal button:
For example in saucelabs i can see that the MenuButton is highlighted after the press, but the MenuItems don't show up:
If i manually click on the button the items are appearing.
On all other Browser / OS combination we use the issue is not reproducible (Windows/Chrome, Windows/Edge, Windows/Firefox, Linux/Chrome, Linux/Edge). Unfortunately the SAP internal test execution tool we use supports only Linux, that's why we can't just switch to execution on Windows.
To Reproduce
This issue was also reproducible with a sample app we got from UI5, unfortunately i can't access it anymore. I will try to find a public available example to reproduce, will update the ticket.
Expected behavior
Press on the MenuButton should show the MenuItems
Logs/Console Output
Relevant part of the logs when using 'tableNavigationMenuButton' as selector:
Logs when using 'tableNavigationMenuButton-internalBtn' as selector:
Screenshots
Test Recorder shows this:
Runtime Env (please complete the following information):
wdi5/wdio-ui5-service
-version: 2.0.10UI5
version: 1.120.19wdio
-version (output ofwdio --version
): 8.40.6node
-version (output ofnode --version
): 20.17.0Additional context
We face this issue already since end of last year with WDI5 1.5, now after upgrade to verison 2 the issue still occurs. If you think it is not related to WDI5, i hope you can give us some guidance how to proceed. UI5 asked for an example to debug, but as mentioned, when manually clicking on the menuButton it is working.
The text was updated successfully, but these errors were encountered: