run tests against Firefox in CI (#168)

* run tests against Firefox in CI
* fix test for Firefox 56
This commit is contained in:
jelhan 2019-03-07 23:11:03 +01:00 committed by GitHub
parent e53ac9a140
commit 215d980033
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View file

@ -2,7 +2,8 @@ module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
'Chrome',
'Firefox',
],
launch_in_dev: [
'Chrome'
@ -20,7 +21,13 @@ module.exports = {
'--remote-debugging-port=0',
'--window-size=1440,900'
].filter(Boolean)
}
},
Firefox: {
ci: [
'--headless',
'--window-size=1440,900',
]
},
},
proxies: {
'/': {

View file

@ -4,6 +4,7 @@ import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import {
render,
blur,
click,
fillIn,
find,
@ -323,6 +324,7 @@ module('Integration | Component | create options datetime', function(hooks) {
);
await fillIn('[data-test-day="2015-01-01"] .form-group input', '10:');
await blur('[data-test-day="2015-01-01"] .form-group input');
assert.ok(
find('[data-test-day="2015-01-01"] .form-group').classList.contains('has-error') ||
// browsers with input type time support prevent non time input