diff --git a/showcase/tests/integration/modifiers/hds-anchored-position-test.js b/showcase/tests/integration/modifiers/hds-anchored-position-test.js index 73460b9fd90..48e923b0ddb 100644 --- a/showcase/tests/integration/modifiers/hds-anchored-position-test.js +++ b/showcase/tests/integration/modifiers/hds-anchored-position-test.js @@ -120,15 +120,19 @@ module( assert.deepEqual(floatingUIOptions.middleware[3].name, 'test'); assert.deepEqual(floatingUIOptions.middleware[3].options, { abc: 1234 }); }); - test('returns the `arrowElement` provided as an option', async function (assert) { + test('returns the `arrow` provided as an option', async function (assert) { const floatingUIOptions = getFloatingUIOptions({ // notice: this in reality should be a DOM element, but we found a string works as well for this type of test - arrowElement: 'test1234', - arrowPadding: 1234, + arrowOptions: { + element: 'test1234', + selector: '#test1234', + padding: 1234, + }, }); assert.deepEqual(floatingUIOptions.middleware[1].name, 'arrow'); assert.deepEqual(floatingUIOptions.middleware[1].options, { element: 'test1234', + selector: '#test1234', padding: 1234, }); }); @@ -200,7 +204,7 @@ module('Integration | Modifier | hds-anchored-position', function (hooks) { } }); - test('render "anchor/floating" elements with default `options`', async function (assert) { + test('render "anchor/floating/arrow" elements with default `options`', async function (assert) { await render(hbs`