@@ -24,24 +24,44 @@ describe('PublicDocsPageContent', () => {
2424 expect ( screen . getByRole ( 'link' , { name : 'Start reading' } ) ) . toHaveAttribute ( 'href' , '/docs/what-is-bitcode' ) ;
2525 expect ( screen . getByText ( 'Read in this order if Bitcode is new.' ) ) . toBeInTheDocument ( ) ;
2626 expect ( screen . getByText ( 'Product docs map back to the active canon.' ) ) . toBeInTheDocument ( ) ;
27- expect ( screen . getByText ( 'V45 / V46 claim boundary' ) ) . toBeInTheDocument ( ) ;
28- expect ( screen . getByText ( / P r o t o c o l d o c s m a p b a c k t o a c t i v e l a w / ) ) . toBeInTheDocument ( ) ;
29- expect ( screen . getByText ( / P u b l i c d o c s e x p l a i n ; p r o o f r e a d b a c k d e c i d e s / ) ) . toBeInTheDocument ( ) ;
30- expect ( screen . getByText ( 'Interface API references' ) ) . toBeInTheDocument ( ) ;
31- expect ( screen . getByText ( 'Build against Bitcode without losing proof readback authority.' ) ) . toBeInTheDocument ( ) ;
32- expect ( screen . getByText ( '00 / Start Here' ) ) . toBeInTheDocument ( ) ;
33- expect ( screen . getByText ( '04 / Commercial Interfaces' ) ) . toBeInTheDocument ( ) ;
34- expect ( screen . getByRole ( 'link' , { name : / W h a t B i t c o d e i s / } ) ) . toHaveAttribute ( 'href' , '/docs/what-is-bitcode' ) ;
35- expect ( screen . getByRole ( 'link' , { name : / A s s e t P a c k s , B T D , a n d t h e B i t c o d e a c t i v i t y l e d g e r / } ) ) . toHaveAttribute ( 'href' , '/docs/source-shares' ) ;
36- expect ( screen . getByRole ( 'link' , { name : / U n d e r s t a n d \/ e x c h a n g e c o m p a t i b i l i t y a n d \/ p a c k s / } ) ) . toHaveAttribute ( 'href' , '/docs/exchange' ) ;
37- expect ( screen . getByRole ( 'link' , { name : / O r i e n t i n s i d e t h e B i t c o d e T e r m i n a l / } ) ) . toHaveAttribute ( 'href' , '/docs/terminal' ) ;
38- expect ( screen . getByRole ( 'link' , { name : / A c t i o n s : w h a t w r i t e s a n d w h a t s h o u l d r e a d b a c k / } ) ) . toHaveAttribute ( 'href' , '/docs/terminal-actions' ) ;
39- expect ( screen . getByRole ( 'link' , { name : / R e a d s , p r o o f s , r e a d i n e s s , a n d e x p e c t e d r e s u l t s / } ) ) . toHaveAttribute ( 'href' , '/docs/read-results' ) ;
40- expect ( screen . getByRole ( 'link' , { name : / O p e r a t e B i t c o d e t h r o u g h M C P a n d A P I s u r f a c e s / } ) ) . toHaveAttribute ( 'href' , '/docs/mcp-api' ) ;
41- expect ( screen . getByRole ( 'link' , { name : / U s e t h e C h a t G P T A p p a s a c o n n e c t e d B i t c o d e i n t e r f a c e / } ) ) . toHaveAttribute ( 'href' , '/docs/chatgpt-app' ) ;
42- expect ( screen . getByText ( 'Action map' ) ) . toBeInTheDocument ( ) ;
43- expect ( screen . getByText ( 'Every write has a read-back expectation.' ) ) . toBeInTheDocument ( ) ;
44- expect ( screen . getByText ( 'Proof and readiness reads' ) ) . toBeInTheDocument ( ) ;
27+ expect ( screen . getByText ( / V 4 8 / ) ) . toBeInTheDocument ( ) ;
28+ expect ( screen . getByRole ( 'link' , { name : / W h a t B i t c o d e i s / } ) ) . toHaveAttribute (
29+ 'href' ,
30+ '/docs/what-is-bitcode' ,
31+ ) ;
32+ expect (
33+ screen . getByRole ( 'link' , {
34+ name : / A s s e t P a c k s , B T D , a n d t h e B i t c o d e a c t i v i t y l e d g e r / ,
35+ } ) ,
36+ ) . toHaveAttribute ( 'href' , '/docs/source-shares' ) ;
37+ expect (
38+ screen . getByRole ( 'link' , {
39+ name : / U n d e r s t a n d \/ e x c h a n g e c o m p a t i b i l i t y a n d \/ p a c k s / ,
40+ } ) ,
41+ ) . toHaveAttribute ( 'href' , '/docs/exchange' ) ;
42+ expect (
43+ screen . getByRole ( 'link' , { name : / O r i e n t o n P a c k s , D e p o s i t , a n d R e a d / } ) ,
44+ ) . toHaveAttribute ( 'href' , '/docs/terminal' ) ;
45+ expect (
46+ screen . getByRole ( 'link' , {
47+ name : / A c t i o n s : w h a t w r i t e s a n d w h a t s h o u l d r e a d b a c k / ,
48+ } ) ,
49+ ) . toHaveAttribute ( 'href' , '/docs/terminal-actions' ) ;
50+ expect (
51+ screen . getByRole ( 'link' , {
52+ name : / R e a d s , p r o o f s , r e a d i n e s s , a n d e x p e c t e d r e s u l t s / ,
53+ } ) ,
54+ ) . toHaveAttribute ( 'href' , '/docs/read-results' ) ;
55+ expect (
56+ screen . getByRole ( 'link' , {
57+ name : / O p e r a t e B i t c o d e t h r o u g h M C P a n d A P I s u r f a c e s / ,
58+ } ) ,
59+ ) . toHaveAttribute ( 'href' , '/docs/mcp-api' ) ;
60+ expect (
61+ screen . getByRole ( 'link' , {
62+ name : / U s e t h e C h a t G P T A p p a s a c o n n e c t e d B i t c o d e i n t e r f a c e / ,
63+ } ) ,
64+ ) . toHaveAttribute ( 'href' , '/docs/chatgpt-app' ) ;
4565 expect ( screen . getByText ( 'Guide fallback' ) ) . toBeInTheDocument ( ) ;
4666 } ) ;
4767} ) ;
0 commit comments