import { screen } from '@testing-library/react' ; import { StepFunction } from '../../../lib/step' ; import { CheckRouterNavigation } from '../../Navigate' ; export const CheckAppVersionDisplay = async ( props , context ) => { expect ( screen . queryByTestId ( 'version' ) ) . not . toBeNull ( ) ; } ; export const CheckRegionDisplay = async ( props , context ) => { expect ( screen . queryByText ( 'Region' ) ) . not . toBeNull ( ) ; } ; export const CheckRegionNotDisplay = async ( props , context ) => { expect ( screen . queryByText ( 'Region' ) ) . toBeNull ( ) ; } ; export const CheckUserLicenseDisplay = async ( props , context ) => { expect ( screen . queryByText ( 'End User License Agreement' ) ) . not . toBeNull ( ) ; } ; export const CheckLogoutButtonDisplay = async ( props , context ) => { expect ( screen . queryByTestId ( 'logoutButton' ) ) . not . toBeNull ( ) ; } ; export const CheckCallingSettingNotDisplay = async ( props , context ) => { expect ( screen . queryByText ( 'Calling' ) ) . toBeNull ( ) ; } ; export const CheckSettingsPage = async ( props , context ) => { return ( < > < CheckRouterNavigation toPage = "Settings" / > < CheckRegionDisplay /> < CheckAppVersionDisplay / > < CheckUserLicenseDisplay /> < CheckLogoutButtonDisplay / > < />); } ;