Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In CodeceptJS using puppeteer helper, getting issue in Window opening after click action #4845

Open
midhunsanku opened this issue Feb 10, 2025 · 1 comment

Comments

@midhunsanku
Copy link

midhunsanku commented Feb 10, 2025

We are upgrading CodeceptJS(2.6.11 to 3.6.10) and Puppeteer(9.1.1 to 24.1.1) versions and didn't have this issue with older versions. After upgrade observed this issue while unit testing the scripts

In our application - When clicked on Save button a new Window opens for authentication. It will be authenticated automatically and closes.

Issue: Its trying to open new Window for authentication but its blinking continuously to open Window and script fails.

And also observed a message on browser Debugger Paused in another tab, switch to that tab. however window is not opened completely its blinking.

Tried Manually after script failed, able to open new window and authenticate successfully

@midhunsanku
Copy link
Author

Observed that chrome-test browser --> its blocking all third party cookies so it is blocking the authentication window opened. After browser is launched if manually allowed third party cookies then its working.

Is there a way to allow third party cookies in codeceptJS or puppeteer.

Any fix to resolve this issue is greatly appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant