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 coach getting "jquery": "window.jQuery.fn is undefined" error #86

Open
MeghaDarsh opened this issue Aug 26, 2022 · 1 comment
Open

Comments

@MeghaDarsh
Copy link

MeghaDarsh commented Aug 26, 2022

I am testing , the landing screen and the search screen have same url and I am giving different start and stop. I am getting the results but with Coach error,
ERROR: URL generated the following errors in the coach {
"performance": {
"jquery": "window.jQuery.fn is undefined"
}
}

Code:
await commands.measure.start('03_landing screen');
await commands.click.byXpathAndWait('//*[@id="biait_Item_1_text"]');
await commands.wait.byPageToComplete();
await commands.wait.byTime(10000);
await commands.measure.stop();
await commands.wait.byTime(5000);

//Search
await commands.navigate('Same url as above', 'TransS');
await commands.wait.byPageToComplete();
await commands.wait.byTime(10000);
await commands.click.byXpathAndWait('//[@id="flex-main-search-h"]');
await commands.wait.byTime(10000);
await commands.click.byXpathAndWait('//
[@id="Search_sc_Num"]');
await commands.addText.byXpath('ABC', '//[@id="Search_sc_Num"]');
await commands.wait.byTime(10000);
await commands.measure.start('04_Search_Screen');
await commands.click.byXpathAndWait('//
[@id="Search_b"]');
await commands.wait.byPageToComplete();
await commands.wait.byTime(20000);
await commands.measure.stop();
await commands.wait.byTime(5000);

Unable to share the URL. Executing using docker and firefox and version of sitespeed.io is 25.7.3

@soulgalore soulgalore transferred this issue from sitespeedio/sitespeed.io Aug 30, 2022
@soulgalore
Copy link
Member

Hi @MeghaDarsh thanks for creating the issue, I'll have a go and see if I can fix that without an URL.

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

2 participants