You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When implement the wdi5 tests for our cap java based Fiori Element V4 app, there is an analytical table in Analytical List Page. Want to achieve the press operation to open the first group in the analytical table by using the wdi5 code in the test recorder. However, the control can not be located correctly.
To Reproduce
Steps to reproduce the behavior:
Running wdi5 locally:
Go to GitHub: *** and check out the code from master.
cd app/der_devicealert_monitor_data
npm i(need node version 18)
Change wdiBaseUrl to *** in .env file under *** folder to test on the remote service
Add code at the end to file ***
it('should navigate to the Display Device Data app object page', async function () {
await AnalyticalListPage.iClickAnalyticTableDropDownBtn();
});
For saving the time, three test functions are enough 'should open the app', 'should filter by Period' and the one we added above. You could comment out the rest.
In the level app/der_devicealert_monitor_data, run 'npm run wdi5:local'
After the page pop up, you will be asked to enter the two factor code to access to the app. (I will grant the access temporally to the person who is assigned to this issue)
Expected behavior
Expect to press on 'Alert Type: Manipulation' group in the analytical table by using the code snippet in test recorder for wdi5:
iClickAnalyticTableDropDownBtn: async () => {
await browser.asControl({
selector: {
id: "com.sap.utilities.c4u.edom.der.der_devicealert_monitor_data::AnalyticalDeviceAlertsList--fe::table::AnalyticalListDeviceAlerts::LineItem-innerTable",
interaction: {
idSuffix: "rows-row0-groupHeader"
}
}}).press();
}
However, this does not happen. It seems that press always happens on the blank under 'Serial Number' and not the right place.
Logs/Console Output
There is no error in the log.
Screenshots
Runtime Env (please complete the following information):
wdi5/wdio-ui5-service-version: [^1.3.2]
UI5 version: [1.121.0]
wdio-version (output of wdio --version): [not install locally]
node-version (output of node --version): [v18.12.0]
OS: [macOS Sequoia Version 15.0]
Browser + Version [chrome Version 130.0.6723.92 (Official Build) (arm64)]
The other versions may related can be found in app/der_devicealert_monitor_data/package.json.
The text was updated successfully, but these errors were encountered:
I have removed some internal information from your issue description as this is visible for everyone. We are also no SAP Employees so we nevertheless couldn't access your resources.
Regarding your issue:
Please have a look at the generated idSuffix. Probably this is not correct and has to be adapted manually
Describe the bug
When implement the wdi5 tests for our cap java based Fiori Element V4 app, there is an analytical table in Analytical List Page. Want to achieve the press operation to open the first group in the analytical table by using the wdi5 code in the test recorder. However, the control can not be located correctly.
To Reproduce
Steps to reproduce the behavior:
Running wdi5 locally:
it('should navigate to the Display Device Data app object page', async function () {
await AnalyticalListPage.iClickAnalyticTableDropDownBtn();
});
Expected behavior
Expect to press on 'Alert Type: Manipulation' group in the analytical table by using the code snippet in test recorder for wdi5:
iClickAnalyticTableDropDownBtn: async () => {
await browser.asControl({
selector: {
id: "com.sap.utilities.c4u.edom.der.der_devicealert_monitor_data::AnalyticalDeviceAlertsList--fe::table::AnalyticalListDeviceAlerts::LineItem-innerTable",
interaction: {
idSuffix: "rows-row0-groupHeader"
}
}}).press();
}
However, this does not happen. It seems that press always happens on the blank under 'Serial Number' and not the right place.
Logs/Console Output
There is no error in the log.
Screenshots
Runtime Env (please complete the following information):
wdi5/wdio-ui5-service
-version: [^1.3.2]UI5
version: [1.121.0]wdio
-version (output ofwdio --version
): [not install locally]node
-version (output ofnode --version
): [v18.12.0]The other versions may related can be found in app/der_devicealert_monitor_data/package.json.
The text was updated successfully, but these errors were encountered: