Merge branch 'master' into feature/fix-gql-state

This commit is contained in:
Dmitry Yankowski
2020-02-25 10:57:44 -05:00
committed by GitHub

View File

@@ -12,13 +12,14 @@ describe("Proxy disabled - local request", () => {
}) })
}) })
describe('Proxy enabled - external request', () => { 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")
.wait(500) .click()
.get('#response-details-wrapper').should($wrapper => { .get("#response-details-wrapper")
expect($wrapper).to.contain('Cat API') .should($wrapper => {
expect($wrapper).to.contain("Cat API")
}) })
}) })
}) })