Cypress Chrome browser not firing "googletag" related apis #14544
Unanswered
ThaiChingChong
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
While launching Chrome browser (we are using Chrome version 87) through Cypress test runner, one of our test is failing because the gallery image fails to open in a new pop up window. After some deeper investigation into the issue by checking the browser's console, there is an error being thrown which prevents the image gallery from popping up.
TypeError: window.googletag.destroySlots is not a function
It was suspected the above errors are being thrown is caused by the following
"googletag"
apis not being fired on Cypress's launched Chrome browser. (Fyi these googletag apis are not being blacklisted in the test suites)https://www.googletagmanager.com/gtag/js?id=DC-9944708
https://www.googletagservices.com/activeview/js/current/rx_lidar.js?cache=r20110914
This is working fine for normal Chrome browsers but not Chrome browsers launched by Cypress.
Any idea why the above apis are not being fired on Cypress Chrome browser?
Beta Was this translation helpful? Give feedback.
All reactions