AG
Size: a a a
AG
B
BO
AG
B
AG
Protocol error (Network.getResponseBody) on response.text() if the response body refresh the page
AG
AB
G
OS
cy.contains("text")
/cy.get('el').contains("text")
, или cy.get('el:contains("text")')
- на любой вкусG
G
OS
/^text$/
.VS
const chai = require('chai');502
chai.use(require('chai-http'));
describe(name, ()=> {it('Тест', (done)=> {
let agent = chai.request.agent("https://local.ru");
agent
.delete('/data/' + user)
.set('content-type','application/json')
.set('Cookie', cookie)
.then(function(err, res) {
console.log(err, res);
done();
});
});
Возвращает
content-type?
VS
OL
VS
const chai = require('chai');502
chai.use(require('chai-http'));
describe(name, ()=> {it('Тест', (done)=> {
let agent = chai.request.agent("https://local.ru");
agent
.delete('/data/' + user)
.set('content-type','application/json')
.set('Cookie', cookie)
.then(function(err, res) {
console.log(err, res);
done();
});
});
Возвращает
content-type?
P