Adobe Launch Analytics requests are not fired when accessing a page with TestCafe
See original GitHub issueWhat is your Scenario?
If accessing the test website with the TestCafe the Adobe Launch Analytics requests are not displayed. If accessing the page manually in browser, Adobe Launch Analytics requests are displayed.
Steps to Reproduce:
- For TestCafe - Run the attached code
- While the page is loading open the Developer Tools and filter the requests by b/ss and observe that there are no requests
- Manually: it cannot be reproduced.
What is the Current behavior?
- When accessing the website the TestCafe no Adobe Launch Analytics requests are fired.
- Also one or more JavaScript errors are displayed in Console: Cannot read property ‘indexOf’ of undefined
- Note that these JavaScript errors are not displayed when visiting the page manually.
What is the Expected behavior?
- When visiting the page with TestCafe Adobe Launch Analytics can be fired:
- No JavaScript errors are displayed after accepting the cookies
What is your public web site URL?
import {Selector} from "testcafe";
fixture`Analytics`
.beforeEach(async t => {
await t.maximizeWindow();
})
test('Adobe Launch Analytics', async t => {
await t.navigateTo("https://www.newegg.com/");
await t.click(Selector("#onetrust-pc-btn-handler"));
await t.click(Selector('div:nth-child(3) label span.ot-switch-nob').filterVisible());
await t.click(Selector('div:nth-child(4) label span.ot-switch-nob').filterVisible());
await t.click(Selector('div:nth-child(5) label span.ot-switch-nob').filterVisible());
await t.click('.save-preference-btn-handler.onetrust-close-btn-handler');
await t.debug();
})
Your complete configuration file (if any):
{
"screenshotPath": "screenshots",
"browsers": "chrome",
"screenshots": {
"takeOnFails": true,
"fullPage": true
},
"debugOnFail": false,
"skipJsErrors": true,
"disablePageCaching": false,
"color": true,
"speed": 0.90,
"pageLoadTimeout": 30000,
"assertionTimeout": 30000,
"selectorTimeout": 30000,
"concurrency": 1
}
Your Environment details:
- testcafe version: 1.9.4
- node.js version: v11.2.0 command-line arguments: no additional parameters
- platform and version: Chrome - Version 85.0.4183.121 (Official Build) (64-bit)
- other: win 10
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Solved: Adobe launch - Link Click Not firing
Solved: Hi We have LinkClick added Via Data layer implementation. I notice Adobe server call is not firing even though data layer works...
Read more >Solved: s.tl() call fires but no image request
I've got a direct call rule in Launch that sets analytics variables and makes an s.tl() call. According to the debugger the rule...
Read more >Solved: Image request show Event is fired 1 time, but repo...
Solved: Hi, I send an Event 1 time whenever I click on a button. However, the Adobe Analytics report show that Event is...
Read more >Adobe Launch does not send track to Analytics
Recently I am working on integrating Adobe Launch with my application, and I am facing the following issue: My application is built under ......
Read more >Re: Adobe Call not happening - Experience League Community
Are you able to see if rule is getting fired in developer console. To check that, type _satellite.setDebug(true) and see if the rule...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mariuspahontu
Thank you for the update. I reproduced the issue. Our team will examine it and check for a suitable solution.
For the team. test.js:
@dalebaldwin Thank you for reaching out to us. For now, we will process your request in the context of the issue you created.