-
Notifications
You must be signed in to change notification settings - Fork 5
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
Clicks fail when put between multiple measure.start and measure.stop #21
Comments
Note: the click that failed won't direct to another page, but it will send some more requests |
Hi @j940927 its super hard for me to guess what's going on, can you follow the instructions in https://www.sitespeed.io/documentation/sitespeed.io/bug-report/#explain-how-to-reproduce-your-issue that will make it easier for me so I can reproduce and understand what you try to do. Thanks! |
Hi @soulgalore, thanks for your quick response! test.js
If script contain first measure.stop(), clicking "Get a Quote" will hit error as screenshot I shared in original post, if I delete first measure.stop(), then the script works fine. Can you please help try if you can reproduce this issue on your side? |
Hi @soulgalore , I've found the root cause of this issue. It is due to below code in sitespeed.io\node_modules\coach-core\dist\coach.min.js After I've fixed this issue by giving back jQuery to alias "$" after jQuery.noConflict is executed. Please advise if this modification would break anything else, thanks! |
Thanks @j940927 for looking into this. I'm moving this to the coach and will implement your fix there. |
Thanks! I tried to create a pull request in Coach but didn't succeed. |
When putting actions under one measure.start/stop block, the actions work fine, but if seperate these actions into two measure.start/stop blocks, the actions in second block fails. From Chrome dev tool can see it's returning error in console.
Script that works:
Script that fails:
Error in Chrome console:
Versions(Running on Macbook):
Mac OS: darwin 19.0.0 nodejs:12.18.2 sitespeed.io:13.3.2 browsertime:8.14.0 coach:5.0.1 chrome: 86
The text was updated successfully, but these errors were encountered: