Want to try my first API test with Cypress, any recommendation when the URL is not changing?

I think what you are calling is a regular URL (in postman) and not the API.
The URL doesn’t need to change in order to call API’s, 1 page can contain multiple API’s.

Do you have a swagger-file from the application that you are testing?
If you go to DevTools and the network tab, you can also see the API’s popping up.

Mark made a short video about how to copy api’s from the devtools to Postman by copying it as bash (cmd) & importing it into postman. But I can’t seem to find it. So help me out here @mwinteringham XD

EDIT found it: Call for Content - Testing tips for the Ministry of Testing site


I don’t think there will be an API for the 1. click into “create job” & 2. click into “post job ad” unless it will generate some sequence code. (I think they are just buttons that bring you to a different page?)

So what you want to test through the API is more something like:

    1. Login to the app
    1. fill all the data (a new window will be displayed after that)
    1. check if it’s added correctly
2 Likes