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

core(fr): index test parity #13867

Merged
merged 10 commits into from
Jun 13, 2022
Merged

core(fr): index test parity #13867

merged 10 commits into from
Jun 13, 2022

Conversation

adamraine
Copy link
Member

Follow up to #13865

I never copied some of the index tests for the new FR runner. This would have caught a few differences between the legacy runner and FR runner including #13863.

This PR brings back those tests for the FR runner.

@adamraine adamraine requested a review from a team as a code owner April 18, 2022 18:05
@adamraine adamraine requested review from connorjclark and removed request for a team April 18, 2022 18:05
Base automatically changed from fix-audit-mode to master April 19, 2022 19:00
@adamraine
Copy link
Member Author

@connorjclark friendly ping

lighthouse-core/fraggle-rock/config/filters.js Outdated Show resolved Hide resolved
@@ -327,6 +327,7 @@ async function navigationGather(requestor, options) {
const artifacts = await Runner.gather(
async () => {
let {page} = options;
const normalizedRequestor = isCallback ? requestor : URL.normalizeUrl(requestor);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, is this change necessary? it isn't even used until far down.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, at least to match the legacy behavior. If the url is invalid, we should throw before attempting to connect to the page.

@adamraine adamraine merged commit 3f8d598 into master Jun 13, 2022
@adamraine adamraine deleted the index-test-parity branch June 13, 2022 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants