mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 06:51:10 +03:00
add headingLevel prop to pf title components
This commit is contained in:
parent
bb1687642c
commit
f161617755
@ -14,7 +14,6 @@ describe('<About />', () => {
|
||||
|
||||
test('close button calls onClose handler', () => {
|
||||
aboutWrapper = mountWithContexts(<About isOpen onClose={onClose} />);
|
||||
console.log(aboutWrapper.debug());
|
||||
closeButton = aboutWrapper.find('AboutModalBoxCloseButton Button');
|
||||
closeButton.simulate('click');
|
||||
expect(onClose).toBeCalled();
|
||||
|
@ -21,7 +21,7 @@ function TypeInputsSubForm({ credentialType, i18n }) {
|
||||
);
|
||||
return (
|
||||
<SubFormLayout>
|
||||
<Title size="md">{i18n._(t`Type Details`)}</Title>
|
||||
<Title size="md" headingLevel="h4">{i18n._(t`Type Details`)}</Title>
|
||||
<FormColumnLayout>
|
||||
{credentialType.namespace === 'gce' && <GceFileUploadField />}
|
||||
{stringFields.map(fieldOptions =>
|
||||
|
@ -41,7 +41,6 @@ describe('<Project />', () => {
|
||||
const wrapper = mountWithContexts(
|
||||
<Project setBreadcrumb={() => {}} me={mockMe} />
|
||||
);
|
||||
console.log(wrapper.find('.pf-c-tabs__item').length);
|
||||
const tabs = await waitForElement(
|
||||
wrapper,
|
||||
'.pf-c-tabs__item',
|
||||
@ -63,7 +62,6 @@ describe('<Project />', () => {
|
||||
const wrapper = mountWithContexts(
|
||||
<Project setBreadcrumb={() => {}} me={mockMe} />
|
||||
);
|
||||
console.log(wrapper.find('.pf-c-tabs__item').length);
|
||||
const tabs = await waitForElement(
|
||||
wrapper,
|
||||
'.pf-c-tabs__item',
|
||||
@ -107,7 +105,6 @@ describe('<Project />', () => {
|
||||
const wrapper = mountWithContexts(
|
||||
<Project setBreadcrumb={() => {}} me={mockMe} />
|
||||
);
|
||||
console.log(wrapper.find('.pf-c-tabs__item').length);
|
||||
const tabs = await waitForElement(
|
||||
wrapper,
|
||||
'.pf-c-tabs__item',
|
||||
|
Loading…
Reference in New Issue
Block a user