✅ Updating tests
This commit is contained in:
@@ -13,6 +13,7 @@ describe('Proxy enabled - external request', () => {
|
|||||||
it('Enable the proxy and make a request to the real cat api', () => {
|
it('Enable the proxy and make a request to the real cat api', () => {
|
||||||
cy.enableProxy('/?url=https://api.thecatapi.com&path=')
|
cy.enableProxy('/?url=https://api.thecatapi.com&path=')
|
||||||
.get('#send').click()
|
.get('#send').click()
|
||||||
|
.wait(500)
|
||||||
.get('#response-details-wrapper').should($wrapper => {
|
.get('#response-details-wrapper').should($wrapper => {
|
||||||
expect($wrapper).to.contain('Cat API')
|
expect($wrapper).to.contain('Cat API')
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user