martini.spec.tsx 599 B

123456789101112131415
  1. import {renderWithOnboardingLayout} from 'sentry-test/onboarding/renderWithOnboardingLayout';
  2. import {screen} from 'sentry-test/reactTestingLibrary';
  3. import docs from './martini';
  4. describe('martini onboarding docs', function () {
  5. it('renders docs correctly', function () {
  6. renderWithOnboardingLayout(docs);
  7. // Renders main headings
  8. expect(screen.getByRole('heading', {name: 'Install'})).toBeInTheDocument();
  9. expect(screen.getByRole('heading', {name: 'Configure SDK'})).toBeInTheDocument();
  10. expect(screen.getByRole('heading', {name: 'Usage'})).toBeInTheDocument();
  11. });
  12. });