qt.spec.tsx 609 B

123456789101112131415
  1. import {renderWithOnboardingLayout} from 'sentry-test/onboarding/renderWithOnboardingLayout';
  2. import {screen} from 'sentry-test/reactTestingLibrary';
  3. import docs from './qt';
  4. describe('getting started with native-qt', 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. });
  12. });