apple-ios.spec.tsx 717 B

123456789101112131415161718
  1. import {renderWithOnboardingLayout} from 'sentry-test/onboarding/renderWithOnboardingLayout';
  2. import {screen} from 'sentry-test/reactTestingLibrary';
  3. import docs from './apple-ios';
  4. describe('apple-ios onboarding docs', function () {
  5. it('renders gradle 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: 'Verify'})).toBeInTheDocument();
  11. expect(
  12. screen.getByRole('heading', {name: 'Experimental Features'})
  13. ).toBeInTheDocument();
  14. });
  15. });