diff --git a/awx/ui/src/components/Wizard/Wizard.test.js b/awx/ui/src/components/Wizard/Wizard.test.js
index 35e8adf41..f5e1bad2a 100644
--- a/awx/ui/src/components/Wizard/Wizard.test.js
+++ b/awx/ui/src/components/Wizard/Wizard.test.js
@@ -1,15 +1,22 @@
import React from 'react';
-import { mount } from 'enzyme';
+import { screen } from '@testing-library/react';
+import { renderWithContexts } from '../../../testUtils/rtlContexts';
import Wizard from './Wizard';
describe('Wizard', () => {
test('renders the expected content', () => {
- const wrapper = mount(
+ renderWithContexts(
) plus nav entries + // that also read "Step 1"; the content paragraph is the unique
. + expect(screen.getByText('Step 1', { selector: 'p' })).toBeInTheDocument(); + // The step's nav button is present and active. + expect( + screen.getByRole('button', { name: 'Step 1' }) + ).toBeInTheDocument(); }); });