Skip to content

Commit 3dd5918

Browse files
author
shleewhite
committed
fix: failing test
1 parent fc565ae commit 3dd5918

File tree

1 file changed

+6
-5
lines changed
  • showcase/tests/integration/components/hds/app-side-nav

1 file changed

+6
-5
lines changed

showcase/tests/integration/components/hds/app-side-nav/index-test.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,18 +291,19 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
291291
<span id='test-app-side-nav-body' />
292292
<span class='hds-app-side-nav-hide-when-minimized' />
293293
</Hds::AppSideNav>`);
294-
295-
assert.dom('body', document).hasStyle({
296-
overflow: 'hidden',
297-
});
298-
299294
await this.changeBrowserSize(false);
300295
assert.deepEqual(
301296
calls[1],
302297
[false],
303298
'resizing to mobile triggers a false event'
304299
);
305300

301+
await click('.hds-app-side-nav__toggle-button');
302+
303+
assert.dom('body', document).hasStyle({
304+
overflow: 'hidden',
305+
});
306+
306307
await this.changeBrowserSize(true);
307308
assert.deepEqual(
308309
calls[2],

0 commit comments

Comments
 (0)