123456789101112131415161718 |
- import {renderWithOnboardingLayout} from 'sentry-test/onboarding/renderWithOnboardingLayout';
- import {screen} from 'sentry-test/reactTestingLibrary';
- import docs from './negroni';
- describe('negroni onboarding docs', function () {
- it('renders docs correctly', function () {
- renderWithOnboardingLayout(docs);
- // Renders main headings
- expect(screen.getByRole('heading', {name: 'Install'})).toBeInTheDocument();
- expect(screen.getByRole('heading', {name: 'Configure SDK'})).toBeInTheDocument();
- expect(screen.getByRole('heading', {name: 'Usage'})).toBeInTheDocument();
- expect(
- screen.getByRole('heading', {name: "Using Negroni's 'panicHandlerFuncCode' Option"})
- ).toBeInTheDocument();
- });
- });
|