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
Add integration tests for <amp-analytics type=googleanalytics> #19674
Add integration tests for <amp-analytics type=googleanalytics> #19674
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚢 😄
"account": "UA-67833617-1" | ||
}, | ||
"requests": { | ||
"host": "${RequestBank.getUrl(1)}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we were going to name these?
document.cookie = '_ga=;expires=' + new Date(0).toUTCString(); | ||
}); | ||
|
||
it('should assign new cid', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have test to get stored cid? Or is that not possible to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the test above is parsing CID from cookie
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed that. Thanks.
Decided to move the CLIENT_ID related tests out of this googleanalytics specific tests #19709 |
…oject#19674) * Add integration tests for <amp-analytics type=googleanalytics> * remove * skip one failing amp-bind test.
Closes #19708