run tests against Firefox in CI (#168)
* run tests against Firefox in CI * fix test for Firefox 56
This commit is contained in:
parent
e53ac9a140
commit
215d980033
2 changed files with 11 additions and 2 deletions
11
testem.js
11
testem.js
|
@ -2,7 +2,8 @@ module.exports = {
|
||||||
test_page: 'tests/index.html?hidepassed',
|
test_page: 'tests/index.html?hidepassed',
|
||||||
disable_watching: true,
|
disable_watching: true,
|
||||||
launch_in_ci: [
|
launch_in_ci: [
|
||||||
'Chrome'
|
'Chrome',
|
||||||
|
'Firefox',
|
||||||
],
|
],
|
||||||
launch_in_dev: [
|
launch_in_dev: [
|
||||||
'Chrome'
|
'Chrome'
|
||||||
|
@ -20,7 +21,13 @@ module.exports = {
|
||||||
'--remote-debugging-port=0',
|
'--remote-debugging-port=0',
|
||||||
'--window-size=1440,900'
|
'--window-size=1440,900'
|
||||||
].filter(Boolean)
|
].filter(Boolean)
|
||||||
}
|
},
|
||||||
|
Firefox: {
|
||||||
|
ci: [
|
||||||
|
'--headless',
|
||||||
|
'--window-size=1440,900',
|
||||||
|
]
|
||||||
|
},
|
||||||
},
|
},
|
||||||
proxies: {
|
proxies: {
|
||||||
'/': {
|
'/': {
|
||||||
|
|
|
@ -4,6 +4,7 @@ import { module, test } from 'qunit';
|
||||||
import { setupRenderingTest } from 'ember-qunit';
|
import { setupRenderingTest } from 'ember-qunit';
|
||||||
import {
|
import {
|
||||||
render,
|
render,
|
||||||
|
blur,
|
||||||
click,
|
click,
|
||||||
fillIn,
|
fillIn,
|
||||||
find,
|
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 fillIn('[data-test-day="2015-01-01"] .form-group input', '10:');
|
||||||
|
await blur('[data-test-day="2015-01-01"] .form-group input');
|
||||||
assert.ok(
|
assert.ok(
|
||||||
find('[data-test-day="2015-01-01"] .form-group').classList.contains('has-error') ||
|
find('[data-test-day="2015-01-01"] .form-group').classList.contains('has-error') ||
|
||||||
// browsers with input type time support prevent non time input
|
// browsers with input type time support prevent non time input
|
||||||
|
|
Loading…
Reference in a new issue