Skip to content

Commit 84e7e3b

Browse files
authored
fix
1 parent 0244698 commit 84e7e3b

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

test-app/tests/integration/components/basic-dropdown-test.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,10 +1388,7 @@ module('Integration | Component | basic-dropdown', function (hooks) {
13881388

13891389
assert.dom('#dropdown-is-opened').exists('The dropdown is opened');
13901390

1391-
let contentElement = find('[data-shadow]')?.shadowRoot.querySelector(
1392-
'#dropdown-is-opened',
1393-
);
1394-
await click(contentElement);
1391+
await click('#dropdown-is-opened');
13951392

13961393
assert.dom('#dropdown-is-opened').exists('The dropdown stays opened when clicking content');
13971394

@@ -1405,10 +1402,7 @@ module('Integration | Component | basic-dropdown', function (hooks) {
14051402

14061403
assert.dom('#dropdown-is-opened').exists('The dropdown is opened 2d time');
14071404

1408-
contentElement = find('[data-shadow]')?.shadowRoot.querySelector(
1409-
'#dropdown-is-opened',
1410-
);
1411-
await click(contentElement);
1405+
await click('#dropdown-is-opened');
14121406

14131407
assert.dom('#dropdown-is-opened').exists('The dropdown stays opened when clicking contentb after 2d open');
14141408

0 commit comments

Comments
 (0)