Merge branch 'master' into feature/fix-gql-state
This commit is contained in:
@@ -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")
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user