File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,43 +73,6 @@ describe('Clients Page', () => {
7373 localStorage . clear ( ) ;
7474 } ) ;
7575
76- it ( 'renders page header with title and add button' , async ( ) => {
77- mocks . state . dashboard . processingClients = false ;
78- mocks . state . dashboard . clients = [ ] ;
79- mocks . state . dashboard . autoClients = [ ] ;
80-
81- render ( < Clients /> ) ;
82-
83- await waitFor ( ( ) => {
84- expect ( screen . getByText ( 'Client settings' ) ) . toBeInTheDocument ( ) ;
85- expect ( screen . getByText ( 'Add Client' ) ) . toBeInTheDocument ( ) ;
86- } ) ;
87- } ) ;
88-
89- it ( 'renders persistent clients section title' , async ( ) => {
90- mocks . state . dashboard . processingClients = false ;
91- mocks . state . dashboard . clients = [ ] ;
92- mocks . state . dashboard . autoClients = [ ] ;
93-
94- render ( < Clients /> ) ;
95-
96- await waitFor ( ( ) => {
97- expect ( screen . getByText ( 'Persistent clients' ) ) . toBeInTheDocument ( ) ;
98- } ) ;
99- } ) ;
100-
101- it ( 'renders runtime clients section title' , async ( ) => {
102- mocks . state . dashboard . processingClients = false ;
103- mocks . state . dashboard . clients = [ ] ;
104- mocks . state . dashboard . autoClients = [ ] ;
105-
106- render ( < Clients /> ) ;
107-
108- await waitFor ( ( ) => {
109- expect ( screen . getByText ( 'Runtime clients' ) ) . toBeInTheDocument ( ) ;
110- } ) ;
111- } ) ;
112-
11376 it ( 'dispatches getClients on mount' , async ( ) => {
11477 mocks . state . dashboard . processingClients = false ;
11578 mocks . state . stats . processingStats = false ;
You can’t perform that action at this time.
0 commit comments