Lines Matching refs:screen
1 import { render, screen } from '@testing-library/react';
14 expect(screen.getAllByText('No API data file found, sorry!')).toHaveLength(1);
28 expect(screen.getAllByRole('heading', { level: 2 })).toHaveLength(6);
29 expect(screen.getAllByRole('heading', { level: 3 })).toHaveLength(25);
30 expect(screen.getAllByRole('table')).toHaveLength(11);
32 expect(screen.queryByText('Event Subscriptions'));
33 expect(screen.queryByText('Components'));
35 expect(screen.queryByDisplayValue('AppleAuthenticationButton'));
36 expect(screen.queryByDisplayValue('AppleAuthenticationButtonProps'));
37 expect(screen.queryByDisplayValue('Subscription'));
39 expect(screen.queryAllByText('Constants')).toHaveLength(0);
40 expect(screen.queryAllByText('Hooks')).toHaveLength(0);
41 expect(screen.queryAllByText('Interfaces')).toHaveLength(0);
56 expect(screen.getAllByRole('heading', { level: 2 })).toHaveLength(7);
57 expect(screen.getAllByRole('heading', { level: 3 })).toHaveLength(19);
59 expect(screen.queryByText('Components'));
60 expect(screen.queryByText('Hooks'));
62 expect(screen.queryByDisplayValue('BarCodeEvent'));
63 expect(screen.queryByDisplayValue('BarCodeScannerProps'));
64 expect(screen.queryByDisplayValue('Subscription'));
65 expect(screen.queryByDisplayValue('usePermissions'));
66 expect(screen.queryByDisplayValue('Inherited Props'));
68 expect(screen.queryAllByText('Constants')).toHaveLength(0);
78 expect(screen.getAllByRole('heading', { level: 2 })).toHaveLength(4);
79 expect(screen.getAllByRole('heading', { level: 3 })).toHaveLength(11);
80 expect(screen.getAllByRole('table')).toHaveLength(6);
82 expect(screen.queryByText('Methods'));
83 expect(screen.queryByText('Enums'));
84 expect(screen.queryByText('Interfaces'));
85 expect(screen.queryByText('Types'));
87 expect(screen.queryByDisplayValue('PermissionResponse'));
88 expect(screen.queryByDisplayValue('PermissionStatus'));
90 expect(screen.queryAllByText('Constants')).toHaveLength(0);
91 expect(screen.queryAllByText('Event Subscriptions')).toHaveLength(0);
92 expect(screen.queryAllByText('Hooks')).toHaveLength(0);
102 expect(screen.getAllByRole('heading', { level: 2 })).toHaveLength(3);
103 expect(screen.getAllByRole('heading', { level: 3 })).toHaveLength(18);
104 expect(screen.getAllByRole('table')).toHaveLength(7);
106 expect(screen.queryByText('Classes'));
107 expect(screen.queryByText('Asset Properties'));
108 expect(screen.queryByText('Asset Methods'));
110 expect(screen.queryByDisplayValue('localUri'));
111 expect(screen.queryByDisplayValue('fromURI()'));
113 expect(screen.queryAllByText('Props')).toHaveLength(0);
114 expect(screen.queryAllByText('Enums')).toHaveLength(0);