File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,18 +64,16 @@ describe('App contract', () => {
6464 fireEvent . click ( screen . getByRole ( 'button' , { name : 'Generate feed URL' } ) ) ;
6565
6666 await waitFor ( ( ) => {
67- expect ( screen . getByText ( 'Your feed is ready' ) ) . toBeInTheDocument ( ) ;
6867 expect ( screen . getByText ( 'Example Feed' ) ) . toBeInTheDocument ( ) ;
6968 expect ( screen . getByLabelText ( 'Feed URL' ) ) . toBeInTheDocument ( ) ;
7069 expect ( screen . getByRole ( 'button' , { name : 'Copy feed URL' } ) ) . toBeInTheDocument ( ) ;
7170 expect ( screen . getByRole ( 'link' , { name : 'Open feed' } ) ) . toBeInTheDocument ( ) ;
72- expect ( screen . getByRole ( 'link' , { name : 'Open JSON Feed' } ) ) . toHaveAttribute (
71+ expect ( screen . getByRole ( 'link' , { name : 'JSON Feed' } ) ) . toHaveAttribute (
7372 'href' ,
7473 'http://localhost:3000/api/v1/feeds/generated-token.json'
7574 ) ;
7675 expect ( screen . getByRole ( 'button' , { name : 'Create another feed' } ) ) . toBeInTheDocument ( ) ;
77- expect ( screen . getByText ( 'Preview' ) ) . toBeInTheDocument ( ) ;
78- expect ( screen . getByText ( 'Latest items from this feed' ) ) . toBeInTheDocument ( ) ;
76+ expect ( screen . getByText ( 'Feed preview' ) ) . toBeInTheDocument ( ) ;
7977 expect ( screen . getByText ( 'Contract Item' ) ) . toBeInTheDocument ( ) ;
8078 } ) ;
8179 } ) ;
You can’t perform that action at this time.
0 commit comments