Updating tests

This commit is contained in:
Liyas Thomas
2020-02-25 05:06:40 +05:30
parent fdedaa073a
commit 939ffcd42a

View File

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