-
Notifications
You must be signed in to change notification settings - Fork 63
UI Changes needed for the Availability and monitoring Synthetic Script #245
Comments
can you describe the test script in user actions such as:
so that we understand what UI elements you want to retrieve. |
The test case will simulate a user doing the following:
|
…2, storm-3, …), to simulate storm button, to account menu, to “end session”, to “Map” and “List” buttons IBM-Cloud/logistics-wizard#245
@Twanawebtech changes committed to "dev" branch. You should have all the IDs you need. In the steps you are listing, please add one clicking on the account menu on the top right and then on "End Session". This will clean up the demo created by the test. |
Reopening this issue. The monitoring service test using selenium IDE still failing on this button, after a very long wait from the monitoring team, it seems that the selenium IDE is not supporting touch events. We need to change the "VIEW LOGISTICS WIZARD IN ACTION" button to a click event in order to work. |
The events are Click, not Touch. To verify, in Chrome console, under Sources, set a breakpoint on mouse/click. It will break when you click on the button. If you set a breakpoint on touch, nothing happens. |
Well that click event is not working on the Monitoring test, see comment from the Monitoring team. The script failed at the step when tried to click the button of "VIEW LOGISTICS WIZARD IN ACTION", the root cause is that there is no clicking event for this button defined in this page, it is a touch event instead, and selenium webdriver doesn't support it by now, and as a workaround, you can replace the command clickAndWait with open like below: |
I can run the test successfully in Selenium IDE with Firefox. If it does not work in Availability Monitoring, the issue is maybe with their driver. We should not have to tweak our code. It is using standard React buttons here. |
@l2fprod yes, correct it works on FireFox Selenium IDE but the issue is with Availability Monitoring driver, they don't have support for touch buttons. You seen above comments from them. |
Closing this for now, if needed then we will reopen. |
Changes needed for the Availability and monitoring Synthetic script.
The text was updated successfully, but these errors were encountered: