Closed samiha-rahman closed 4 years ago
Is the sleep time is enough for the app to render? Out of curiosity, is it possible to pass the sleep time as an optional argument to run e2e?
Before running the tests, I was encountering a problem where the indoor maps were not loading and displaying. After some attempts, I found out that it was because the outdoor map was not properly loading at the beginning of the test run. However, even if the app sleeps for a few minutes, the map will not load unless there is some sort of interaction with the application (this does not occur in our application, just the testing environment). So to make the map load, I have to click on an element in the page, and then give the application a few seconds to load, and this solved all subsequent loading issues. It cannot be added as a parameter for running e2e since I have to interact with the application first!
Maps and floor plans are visible when running tests Mixture of indoor and outdoor route tests are supported