@@ -38,7 +38,7 @@ describe('ConnectWallet component ', () => {
3838 expect ( screen . getByTestId ( 'host' ) ) . toHaveValue ( 'user.local' ) ;
3939 expect ( screen . getByTestId ( 'rune' ) ) . toHaveValue ( 'mRXhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb24j' ) ;
4040 expect ( screen . getByTestId ( 'invoice-rune' ) ) . toHaveValue ( 'aHFhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb2==' ) ;
41- expect ( screen . getByTestId ( 'connect-url' ) ) . toHaveValue ( 'ln-message://user.local:5001?rune=mRXhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb24j&invoiceRune=aHFhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb2==' ) ;
41+ expect ( screen . getByTestId ( 'connect-url' ) ) . toHaveValue ( 'ln-message://ws:// user.local:5001?rune=mRXhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb24j&invoiceRune=aHFhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb2==' ) ;
4242 expect ( screen . queryByTestId ( 'invoice-rune-spinner' ) ) . not . toBeInTheDocument ( ) ;
4343 } ) ;
4444
@@ -51,10 +51,10 @@ describe('ConnectWallet component ', () => {
5151 expect ( screen . getByTestId ( 'port' ) ) . toHaveValue ( '5001' ) ;
5252 expect ( screen . getByTestId ( 'host' ) ) . toHaveValue ( 'user.local' ) ;
5353 expect ( screen . getByTestId ( 'rune' ) ) . toHaveValue ( 'mRXhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb24j' ) ;
54- expect ( screen . queryByTestId ( 'client-cert' ) ) . not . toBeInTheDocument ( ) ;
54+ expect ( screen . queryByTestId ( 'client-cert' ) ) . toBeInTheDocument ( ) ;
5555 expect ( screen . queryByTestId ( 'ca-cert' ) ) . not . toBeInTheDocument ( ) ;
5656 expect ( screen . getByTestId ( 'invoice-rune' ) ) . toHaveValue ( 'aHFhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb2==' ) ;
57- expect ( screen . getByTestId ( 'connect-url' ) ) . toHaveValue ( 'ln-message://user.local:5001?rune=mRXhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb24j&invoiceRune=aHFhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb2==' ) ;
57+ expect ( screen . getByTestId ( 'connect-url' ) ) . toHaveValue ( 'ln-message://ws:// user.local:5001?rune=mRXhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb24j&invoiceRune=aHFhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb2==' ) ;
5858 } ) ;
5959
6060 it ( 'updates selected network and input fields on network change to LN Message (Tor)' , async ( ) => {
@@ -65,10 +65,10 @@ describe('ConnectWallet component ', () => {
6565 expect ( screen . getByTestId ( 'port' ) ) . toHaveValue ( '5001' ) ;
6666 expect ( screen . getByTestId ( 'host' ) ) . toHaveValue ( 'oqaer4kd7ufryngx6dsztovs4pnlmaouwmtkofjsd2m7pkq8wd.onion' ) ;
6767 expect ( screen . getByTestId ( 'rune' ) ) . toHaveValue ( 'mRXhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb24j' ) ;
68- expect ( screen . queryByTestId ( 'client-cert' ) ) . not . toBeInTheDocument ( ) ;
69- expect ( screen . queryByTestId ( 'ca-cert ' ) ) . not . toBeInTheDocument ( ) ;
68+ expect ( screen . queryByTestId ( 'client-cert' ) ) . toBeInTheDocument ( ) ;
69+ expect ( screen . queryByTestId ( 'client-key ' ) ) . toBeInTheDocument ( ) ;
7070 expect ( screen . getByTestId ( 'invoice-rune' ) ) . toHaveValue ( 'aHFhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb2==' ) ;
71- expect ( screen . getByTestId ( 'connect-url' ) ) . toHaveValue ( 'ln-message://oqaer4kd7ufryngx6dsztovs4pnlmaouwmtkofjsd2m7pkq8wd.onion:5001?rune=mRXhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb24j&invoiceRune=aHFhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb2==' ) ;
71+ expect ( screen . getByTestId ( 'connect-url' ) ) . toHaveValue ( 'ln-message://ws:// oqaer4kd7ufryngx6dsztovs4pnlmaouwmtkofjsd2m7pkq8wd.onion:5001?rune=mRXhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb24j&invoiceRune=aHFhnFyVWrRQChA9eJ01RQT9W502daqrP0JA4BiHHw89MCZGb3IgQXBwbGljYXRpb2==' ) ;
7272 } ) ;
7373
7474 it ( 'updates selected network and input fields on network change to REST' , async ( ) => {
0 commit comments