@@ -22,28 +22,28 @@ test.describe.configure({
2222} ) ;
2323
2424test ( 'connect by channel name error' , async ( { cli } ) => {
25- const { error } = await cli ( 'attach' , '--cdp=chrome-canary ' ) ;
26- expect ( error ) . toContain ( 'Could not connect to chrome-canary ' ) ;
25+ const { error } = await cli ( 'attach' , '--cdp=chrome-dev ' ) ;
26+ expect ( error ) . toContain ( 'Could not connect to chrome-dev ' ) ;
2727 expect ( error ) . toContain ( 'chrome://inspect/#remote-debugging' ) ;
2828} ) ;
2929
3030test ( 'attach --cdp=<channel> defaults session name to the channel' , async ( { cli } ) => {
3131 // Connection fails, but the daemon writes its err log under the resolved session name.
32- await cli ( 'attach' , '--cdp=chrome-canary ' ) ;
32+ await cli ( 'attach' , '--cdp=chrome-dev ' ) ;
3333 const folder = await daemonFolder ( ) ;
3434 expect ( folder ) . toBeTruthy ( ) ;
3535 const files = await fs . promises . readdir ( folder ! ) ;
36- expect ( files ) . toContain ( 'chrome-canary .err' ) ;
36+ expect ( files ) . toContain ( 'chrome-dev .err' ) ;
3737 expect ( files ) . not . toContain ( 'default.err' ) ;
3838} ) ;
3939
4040test ( 'explicit --session wins over --cdp=<channel>' , async ( { cli } ) => {
41- await cli ( 'attach' , '--cdp=chrome-canary ' , '-s=explicit' ) ;
41+ await cli ( 'attach' , '--cdp=chrome-dev ' , '-s=explicit' ) ;
4242 const folder = await daemonFolder ( ) ;
4343 expect ( folder ) . toBeTruthy ( ) ;
4444 const files = await fs . promises . readdir ( folder ! ) ;
4545 expect ( files ) . toContain ( 'explicit.err' ) ;
46- expect ( files ) . not . toContain ( 'chrome-canary .err' ) ;
46+ expect ( files ) . not . toContain ( 'chrome-dev .err' ) ;
4747} ) ;
4848
4949test ( 'attach via cdp URL keeps the default session' , async ( { cdpServer, cli, server } ) => {
0 commit comments