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

feat: allow publishing the generated html repo #180

Merged
merged 5 commits into from
Apr 21, 2021
Merged

Conversation

});

it('Verify report on route2', () => {
cy.visit('/route2/.reports/lighthouse.html');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This tests configuration cascading

@@ -47,6 +47,7 @@ const runLighthouse = async (browserPath, url) => {
});
const results = await lighthouse(url, {
port: chrome.port,
output: 'html',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

results.report is JSON by default. This changes it to HTML.
It doesn't impact the results object which is under results.lhr

@erezrokah erezrokah merged commit 53886d5 into main Apr 21, 2021
@erezrokah erezrokah deleted the feat/add_html_report branch April 21, 2021 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants