Created
July 9, 2019 11:26
-
-
Save jennifer-shehane/e9036fb878d080a975a4ccc745475d70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cy.server(); | |
cy | |
.route({ method: 'GET', url: '/api/users/*/attributes/checkout-shipping-details' }) | |
.as('deleteCartReq1') | |
.route({ method: 'GET', url: '/api/countries' }).as('deleteCartReq2') | |
.route({ method: 'GET', url: '/api/currencies' }).as('deleteCartReq3') | |
.route({ method: 'GET', url: '/api/users/*/wishlist/saved?limit=100' }).as('deleteCartReq4') | |
.route({ method: 'GET', url: '/api/users/*/cart/config' }).as('deleteCartReq5') | |
.route({ method: 'GET', url: '/api/users/*/cart/estimate' }).as('deleteCartReq6') | |
cy.wait( | |
[ | |
'@deleteCartReq1', | |
'@deleteCartReq2', | |
'@deleteCartReq3', | |
'@deleteCartReq4', | |
'@deleteCartReq5', | |
'@deleteCartReq6' | |
], | |
{ timeout: 20000 } | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment