-
Notifications
You must be signed in to change notification settings - Fork 20
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
Use chromium for karma tests #39
Conversation
Note this one currently has a failing test when running in Codespaces with Chromium. Need to circle back to investigate ... |
c459edf
to
0d49556
Compare
@@ -219,7 +219,7 @@ describe('combobox-nav', function() { | |||
|
|||
assert.equal(options[1].getAttribute('aria-selected'), 'true') | |||
assert.equal(input.getAttribute('aria-activedescendant'), 'hubot') | |||
assert.equal(list.scrollTop, 36) | |||
assert.equal(list.scrollTop, options[1].offsetTop) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this test was failing ... it seems that the height of the list items can vary by platform. This removes the magic number.
@@ -3,7 +3,7 @@ name: Node CI | |||
on: | |||
pull_request: | |||
branches: | |||
- master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI was not running! This fixes that 🎉
What am I trying to accomplish
Provide a Chromium binary for front-end projects to run karma tests with when running in Codespaces or other environments where chrome browser is not necessarily installed.
Part of https://github.com/github/web-systems/issues/162 (see that issue for more info)
What approach did I take?
I installed and configured the
chromium
npm package for use with karma tests.