We are testing Webdriver.IO (https://webdriver.io/) with TypeScript to test if it could be a good framework for automating End-to-End GUI-tests on a Web-application. We have already tried Cypress and TestProject.IO, both of which have test-script recorders either natively built or with plugins or both. I couldn’t find a way to record end-to-end tests with Webdriver.IO – meaning I want to
Tag: end-to-end
Cypress not properly intercepting leaflet map tile calls
I am testing a react-leaflet based application in cypress. To avoid making tons of real maptile requests, I am trying to intercept calls to the mapbox maptile server, and replace with a dummy tile. I do this in my cypress/support.index.js file: A simple test: I took a look at Mock leaflet resources in Cypress, and this tactic seemed to work
How To Configure Cypress To Wait Longer (or Indefinitely) for BaseUrl?
I am using this Cypress image in a docker-compose.yml to run end to end tests: cypress/included:6.1.0 When the test runner starts it will verify that a server can be reached at baseUrl. If not, it retries 3 times. My services and web server need a little more time to start. How can I increase the timeout and/or number of retries