diff --git a/tests/integration/components/dummy-box-test.js b/tests/integration/components/dummy-box-test.js index 25de2f80..411fd4c6 100644 --- a/tests/integration/components/dummy-box-test.js +++ b/tests/integration/components/dummy-box-test.js @@ -1,6 +1,6 @@ import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; -import { render, findAll, click } from '@ember/test-helpers'; +import { render, findAll, click, fillIn } from '@ember/test-helpers'; import hbs from 'htmlbars-inline-precompile'; import { percySnapshot } from 'ember-percy'; @@ -84,6 +84,21 @@ module('Integration | Component | dummy box', function(hooks) { percySnapshot('textarea with value'); }); + test('it snapshots select values', async function(assert) { + await render( + hbs` + `); + + await percySnapshot('select without value'); + await fillIn('select', 'two'); + await percySnapshot('select with value'); + + assert.ok(true); + }); + test('it handles identical assets with different paths', async function(assert) { await render(hbs` {{#dummy-box}}