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

Update Karma and detect available browsers when testing #652

Merged
merged 9 commits into from Sep 4, 2018
Merged

Conversation

mislav
Copy link
Contributor

@mislav mislav commented Sep 3, 2018

No description provided.

@mislav mislav requested a review from a team September 3, 2018 18:13
preferHeadless: true,
usePhantomJS: false,
postDetection: availableBrowsers =>
availableBrowsers.map(browser => (browser.startsWith('Chrom') ? `${browser}NoSandbox` : browser))
Copy link

@keithamus keithamus Sep 3, 2018

Choose a reason for hiding this comment

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

is Chrom intentional here? never mind I see it also catches Chromium

@mislav
Copy link
Contributor Author

mislav commented Sep 3, 2018

This change causes a bizarre CI failure:

HeadlessChrome 0.0.0 (Ubuntu 0.0.0) native Request credentials defaults to same-origin FAILED
	AssertionError: expected 'omit' to equal 'same-origin'

Which would suggest that the version of Chrome used was 62, not 68. This branch uses the same karma-chrome-launcher version as master, so I can't guess right now why would the result be different.

@mislav mislav merged commit fde38d5 into master Sep 4, 2018
@mislav mislav deleted the karma-update branch September 4, 2018 00:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants