happy-dinner-13480
08/29/2022, 2:39 PMGET request but it doesn't work as I wanted:
cy.intercept({
method: 'GET',
url: `${Cypress.env('API_URL')}/api/v1/receipt/*?cache_buster=*`,
}).as('getReceipt');
This intercept intercepts the first url, but I want to intercept the second url. Any suggestions how to make the * more strict?
https://***.com/api/v1/receipt/suggestions?type=receipt&finance_type=purchase&is_invoice=0&cache_buster=FlYeNfBNG5ZY66
https://***.com/api/v1/receipt/630ba8b4f7005c058a702534?cache_buster=LcsJ1esqykcp93