2021-09-20 02:32:41 -05:00
|
|
|
/////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
2024-01-01 02:43:48 -06:00
|
|
|
// Copyright (C) 2013 - 2024, The pgAdmin Development Team
|
2021-09-20 02:32:41 -05:00
|
|
|
// This software is released under the PostgreSQL Licence
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
|
2023-10-23 07:13:17 -05:00
|
|
|
|
2021-09-20 02:32:41 -05:00
|
|
|
import React from 'react';
|
2023-10-23 07:13:17 -05:00
|
|
|
import { render } from '@testing-library/react';
|
2024-07-03 05:47:29 -05:00
|
|
|
import '@testing-library/jest-dom';
|
2023-10-23 07:13:17 -05:00
|
|
|
|
2021-09-20 02:32:41 -05:00
|
|
|
import Theme from 'sources/Theme';
|
2021-09-23 04:10:38 -05:00
|
|
|
import Wizard from '../../../pgadmin/static/js/helpers/wizard/Wizard';
|
|
|
|
import WizardStep from '../../../pgadmin/static/js/helpers/wizard/WizardStep';
|
2021-09-20 02:32:41 -05:00
|
|
|
|
|
|
|
describe('Wizard', () => {
|
|
|
|
it('WizardPanel', () => {
|
2023-10-23 07:13:17 -05:00
|
|
|
render(
|
2021-09-20 02:32:41 -05:00
|
|
|
<Theme>
|
|
|
|
<Wizard
|
|
|
|
stepList={['Test']}
|
2022-01-12 06:02:20 -06:00
|
|
|
onStepChange={()=> {/*This is intentional (SonarQube)*/}}
|
|
|
|
onSave={()=>{/*This is intentional (SonarQube)*/}}
|
2021-09-20 02:32:41 -05:00
|
|
|
className={''}
|
|
|
|
disableNextStep={()=>{return false;}}
|
|
|
|
>
|
|
|
|
<WizardStep stepId={0} className={''}>
|
|
|
|
</WizardStep>
|
|
|
|
</Wizard>
|
|
|
|
</Theme>);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|