You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I understand chromium acts like puppeter as a robot(I am not sure, it seems chrome cannot get response somehow) and blocks that. Our application is installed in multiple servers, when I change target website url to other site it is working well. it seems our qa environment somehow blocked that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are trying to move to codecept.js as test environment,
We wrote our first tests, using puppeteer, it was working fine for 10 days, but suddenly all tests started to fail, with that error:
Create New Project:
net::ERR_EMPTY_RESPONSE at https://mywebsite/home/index?ID=6e1cbe0f-685b-450d-819e-a7048d3e6c51
at navigate (node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:155:23)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
As I understand chromium acts like puppeter as a robot(I am not sure, it seems chrome cannot get response somehow) and blocks that. Our application is installed in multiple servers, when I change target website url to other site it is working well. it seems our qa environment somehow blocked that.
what can I do in that case ?
that is my code for login :
module.exports = function() {
return actor({
async login() {
this.amOnPage('home/index?ID=6e1cbe0f')
this.waitForElement("input[id=j_username]",100)
this.fillField("input[id=j_username]","testUser")
this.fillField("input[type=password]","123456Aa")
this.click("div[class=cont_bluebtn_left]")
this.waitForElement("div[id=gridDiv]",100)
console.log(
Logged in as user: testUser
);},
navigateToHomePage() {
I.amOnPage('/');
},
});
}
Beta Was this translation helpful? Give feedback.
All reactions