Lines Matching refs:screen
4 import { render, screen } from '@testing-library/react';
14 expect(screen.getByText('')).toBeInTheDocument();
15 expect(screen.getByText('Hello')).toBeInTheDocument();
20 expect(screen.getByRole('img')).toBeInTheDocument();
21 expect(screen.getByText('Hello')).toBeInTheDocument();
26 expect(screen.getByRole('img')).toBeInTheDocument();
27 expect(screen.getByRole('img')).toHaveClass('icon-sm text-info');
32 expect(screen.getByRole('img')).toBeInTheDocument();
33 expect(screen.getByRole('img')).toHaveClass('icon-sm text-warning');
38 expect(screen.getByRole('img')).toBeInTheDocument();
39 expect(screen.getByRole('img')).toHaveClass('icon-sm text-danger');
44 expect(screen.getByTestId('callout-container')).toHaveStyleRule(
52 expect(screen.getByTestId('callout-container')).toHaveStyleRule(
60 expect(screen.getByTestId('callout-container')).toHaveStyleRule(
65 expect(screen.getByTestId('callout-container')).toHaveStyleRule(
73 expect(screen.getByTestId('callout-container')).toBeInTheDocument();
74 expect(screen.getByText('Hello')).toBeInTheDocument();
81 expect(screen.getByTestId('callout-container')).toBeInTheDocument();
82 expect(screen.getByTestId('callout-container')).toHaveStyleRule(
86 expect(screen.getByRole('img')).toBeInTheDocument();
87 expect(screen.getByText('Hello')).toBeInTheDocument();
94 expect(screen.getByTestId('callout-container')).toBeInTheDocument();
95 expect(screen.getByText('Note')).toBeInTheDocument();
96 expect(screen.getByText(': Hello')).toBeInTheDocument();