Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
amk221 committed Nov 20, 2024
1 parent 144c1f4 commit 31aae47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/components/select-box/occlusion-test.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ module('select-box (occlusion)', function (hooks) {
skip('navigation', async function (assert) {
assert.expect(11);

// Using occlusion, _does_ work, but seemingly not in the test suite
// and also, requires a buffer larger than 1.

const options = ['one', 'two', 'three', 'four', 'five', 'six'];

const handleScroll = () => {
Expand Down Expand Up @@ -88,6 +91,7 @@ module('select-box (occlusion)', function (hooks) {
await raf();
assert.dom('.select-box__option[aria-current="true"]').hasText('six');
assert.deepEqual(getOptions(), ['four', 'five', 'six']);

assert.verifySteps([]);
});

Expand Down

0 comments on commit 31aae47

Please sign in to comment.