pgadmin4/web/regression/javascript/grant_wizard/wizard_spec.js
2024-01-01 14:13:48 +05:30

37 lines
1007 B
JavaScript

/////////////////////////////////////////////////////////////
//
// pgAdmin 4 - PostgreSQL Tools
//
// Copyright (C) 2013 - 2024, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
//////////////////////////////////////////////////////////////
import React from 'react';
import { render } from '@testing-library/react';
import Theme from 'sources/Theme';
import Wizard from '../../../pgadmin/static/js/helpers/wizard/Wizard';
import WizardStep from '../../../pgadmin/static/js/helpers/wizard/WizardStep';
describe('Wizard', () => {
it('WizardPanel', () => {
render(
<Theme>
<Wizard
stepList={['Test']}
onStepChange={()=> {/*This is intentional (SonarQube)*/}}
onSave={()=>{/*This is intentional (SonarQube)*/}}
className={''}
disableNextStep={()=>{return false;}}
>
<WizardStep stepId={0} className={''}>
</WizardStep>
</Wizard>
</Theme>);
});
});