import {render, screen} from 'sentry-test/reactTestingLibrary'; import AwsLambdaFunctionSelect from 'sentry/views/integrationPipeline/awsLambdaFunctionSelect'; describe('AwsLambdaFunctionSelect', () => { it('choose lambdas', () => { render( ); expect(screen.getByRole('checkbox', {name: 'lambdaB'})).toBeInTheDocument(); expect(screen.getByRole('button', {name: 'Finish Setup'})).toBeInTheDocument(); // TODO: add assertion for form post }); });