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
Our frontend-based end-to-end tests are currently not doing any tests that are related to handling network traffic. This needs to be fixed as this is a significant blind-spot in our testing strategy.
Current Situation
We have many end-to-end tests in place and also some tests that do traffic simulation. However these tests are not facilitated through the Console, so any Console functionality related to handling network traffic is not tested.
Why do we need this? Who uses it, and when?
This poses a significant gap in our testing efforts, in which we cannot ascertain that the Console is handling network traffic correctly, apart from the manual testing we do as part of the release process.
Proposed Implementation
I believe we can make use of our testing tool for network traffic to simulate the traffic systematically. We would have to run the tool from within the cypress tests and then run assertions based on how we expect the Console to behave.
Specifically, this includes:
Testing the event stream
Event filters
Data inspector
Preview row
Testing "last activity" updates of devices and gateways
Test "Device joined successfully" message when a device in an application has joined the network
Testing locations set by uplinks (gateways and devices)
@KrishnaIyer can you point to some information as to how your testing tool can help us doing the traffic simulation?
I found this README.md file here with a nice overview of the tool, but maybe you can also let us know your thoughts as to how we can integrate traffic simulation into our frontend-based end-to-end tests.
Contributing
I can help by doing more research.
I can help by implementing the feature after the proposal above is approved.
I can help by testing the feature before it's released.
Summary
Our frontend-based end-to-end tests are currently not doing any tests that are related to handling network traffic. This needs to be fixed as this is a significant blind-spot in our testing strategy.
Current Situation
We have many end-to-end tests in place and also some tests that do traffic simulation. However these tests are not facilitated through the Console, so any Console functionality related to handling network traffic is not tested.
Why do we need this? Who uses it, and when?
This poses a significant gap in our testing efforts, in which we cannot ascertain that the Console is handling network traffic correctly, apart from the manual testing we do as part of the release process.
Proposed Implementation
I believe we can make use of our testing tool for network traffic to simulate the traffic systematically. We would have to run the tool from within the cypress tests and then run assertions based on how we expect the Console to behave.
Specifically, this includes:
@KrishnaIyer can you point to some information as to how your testing tool can help us doing the traffic simulation?
I found this README.md file here with a nice overview of the tool, but maybe you can also let us know your thoughts as to how we can integrate traffic simulation into our frontend-based end-to-end tests.
Contributing
Code of Conduct
The text was updated successfully, but these errors were encountered: