@@ -75,7 +75,7 @@ export class CliPage {
75
75
await t . click ( this . cliExpandButton ) ;
76
76
//Add keys
77
77
const keyValueArray = await common . createArrayWithKeyValueAndKeyname ( amount , keyName ) ;
78
- await t . typeText ( this . cliCommandInput , `${ keyCommand } ${ keyValueArray . join ( ' ' ) } ` , { paste : true } ) ;
78
+ await t . typeText ( this . cliCommandInput , `${ keyCommand } ${ keyValueArray . join ( ' ' ) } ` , { replace : true , paste : true } ) ;
79
79
await t . pressKey ( 'enter' ) ;
80
80
await t . click ( this . cliCollapseButton ) ;
81
81
}
@@ -87,7 +87,7 @@ export class CliPage {
87
87
async sendCommandInCli ( command : string ) : Promise < void > {
88
88
//Open CLI
89
89
await t . click ( this . cliExpandButton ) ;
90
- await t . typeText ( this . cliCommandInput , command , { paste : true } ) ;
90
+ await t . typeText ( this . cliCommandInput , command , { replace : true , paste : true } ) ;
91
91
await t . pressKey ( 'enter' ) ;
92
92
await t . click ( this . cliCollapseButton ) ;
93
93
}
@@ -100,7 +100,7 @@ export class CliPage {
100
100
//Open CLI
101
101
await t . click ( this . cliExpandButton ) ;
102
102
//Add keys
103
- await t . typeText ( this . cliCommandInput , command , { paste : true } ) ;
103
+ await t . typeText ( this . cliCommandInput , command , { replace : true , paste : true } ) ;
104
104
await t . pressKey ( 'enter' ) ;
105
105
const commandResult = await this . cliOutputResponseSuccess . innerText ;
106
106
await t . click ( this . cliCollapseButton ) ;
0 commit comments