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

disable Google Translate service during Lighthouse run #897

Merged
merged 2 commits into from
Nov 3, 2016
Merged

Conversation

brendankenny
Copy link
Member

fixes #896

@@ -20,7 +20,7 @@
const withoutJsAudit = require('../../audits/without-javascript.js');
const assert = require('assert');

describe.only('Progressive Enhancement: without javascript audit', () => {
describe('Progressive Enhancement: without javascript audit', () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

whoops

@@ -53,6 +53,7 @@ class ChromeLauncher {
const flags = [
'--remote-debugging-port=9222',
'--disable-extensions',
'--disable-translate',
Copy link
Member

Choose a reason for hiding this comment

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

lets add this too:

  • --disable-default-apps "Disables installation of default apps on first run. This is used during automated testing"

Copy link
Member

@paulirish paulirish Nov 2, 2016

Choose a reason for hiding this comment

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

there's also
image
which apparently will flip off some authentication work
chrome_session_manager.cc - Code Search

@samccone
Copy link
Contributor

samccone commented Nov 3, 2016

nice work!

@samccone samccone merged commit e73a9d8 into master Nov 3, 2016
@samccone samccone deleted the translate branch November 3, 2016 03:56
andrewrota pushed a commit to andrewrota/lighthouse that referenced this pull request Jan 13, 2017
)

* disable Google Translate service during Lighthouse run
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

Successfully merging this pull request may close these issues.

Chrome's Translation prompt kills Lighthouse
3 participants