Skip to content

Commit

Permalink
Update high-charts-test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Jul 15, 2024
1 parent e4f03f2 commit 7bb5db1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/components/high-charts-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, settled } from '@ember/test-helpers';
import { render, settled, waitFor } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
import cloneDeep from 'lodash-es/cloneDeep';

Expand Down Expand Up @@ -119,6 +119,8 @@ module('Integration | Component | High Charts', function (hooks) {
/>
`);

await waitFor('.highcharts-navigator');

assert
.dom('.highcharts-navigator')
.exists({ count: 1 }, '.highcharts-navigator class is present');
Expand Down

0 comments on commit 7bb5db1

Please sign in to comment.