Comments (9)
can you describe the test script in user actions such as:
- Click on "View Logistics Wizard in action"
- Verify the number of active shipment is X
- Click on Simulate Storm
etc.
so that we understand what UI elements you want to retrieve.
from logistics-wizard.
The test case will simulate a user doing the following:
- the user opens the Logistics Wizard site,
- clicks on the "View Logistics Wizard" button,
- clicks on the truck icon to get shipment details,
- click on the retail location icon to get location details,
- click on the weather storm button get the weather information, the weather functionality is done using an OpenWhisk action, so this will also test the OpenWhisk action.
<tr>
<td>open</td>
<!-- Open the Logistics Wizard site -->
<td>http://<Your-App-WebUI-URL>.mybluemix.net</td>
</tr>
<tr>
<!-- Click on the "View Logistics Wizard" button to go into the dashboard -->
<td>click</td>
<td>id=viewInActionButton</td>
</tr>
<!-- Click on the "shipment" icon -->
<tr>
<td>click</td>
<td>id=shipment</td>
</tr>
<!-- Click on the "Retail Location" icon -->
<tr>
<td>click</td>
<td>id=retailLocation</td>
</tr>
<!-- Click on the "Weather Storm" button -->
<tr>
<td>click</td>
<td>id=weatherStorm</td>
</tr>
from logistics-wizard.
@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.
from logistics-wizard.
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.
from logistics-wizard.
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.
from logistics-wizard.
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:
from logistics-wizard.
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.
from logistics-wizard.
@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.
from logistics-wizard.
Closing this for now, if needed then we will reopen.
from logistics-wizard.
Related Issues (20)
- Need location instead of ID in "incoming" and "outgoing" shipments
- Enable addition of shipment trucks from a mobile device HOT 1
- Demo: Mobile and IoT integration with supply chain
- Docker image for ERP service
- Docker image for Controller service
- Kubernetes deployment file for ERP
- Build ERP docker image from toolchain
- Build controller docker image from toolchain
- Deploy ERP+Controller to Kubernetes cluster from toolchain
- Deploy web ui configured to talk to Kubernetes cluster from toolchain
- Alternative toolchain deploying part of Logistics Wizard with Kubernetes
- Kubernetes deployment file for Controller
- Add OPENWHISK_AUTH to Controller deployment as environment secret
- Find a way to avoid having to input the CONTROLLER_SERVICE url in the toolchain
- Retrieve OPENWHISK_AUTH from OpenWhisk API
- Specify branch name in toolchain wizard
- Question: What is the security model for the controller and erp cloud foundry apps? HOT 2
- Logistics Wizard Toolchain does not work HOT 6
- Can not deployee logistics demo HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logistics-wizard.