Skip to content

Commit

Permalink
Fixes #36451 - AnsibleVariableOverrides.js test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga authored and nofaralfasi committed May 30, 2023
1 parent a85825f commit 3526a1f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
const TestComponent = withRedux(withMockedProvider(AnsibleVariableOverrides));

describe('AnsibleVariableOverrides', () => {
it('should show skeleton when page is loading', () => {
it('should show skeleton when page is loading', async () => {
const { container } = render(
<TestComponent
hostId={hostId}
Expand All @@ -31,6 +31,8 @@ describe('AnsibleVariableOverrides', () => {
expect(
container.getElementsByClassName('react-loading-skeleton')
).toHaveLength(5);

await waitFor(tick);
});
it('should load', async () => {
render(
Expand Down

0 comments on commit 3526a1f

Please sign in to comment.