File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
tests/e2e/tests/critical-path Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 53
53
await t . click ( cliPage . cliExpandButton ) ;
54
54
for ( const { textType, keyName } of keyTypes ) {
55
55
if ( textType in COMMANDS_TO_CREATE_KEY ) {
56
- await t . typeText ( cliPage . cliCommandInput , COMMANDS_TO_CREATE_KEY [ textType ] ( keyName ) ) ;
56
+ await t . typeText ( cliPage . cliCommandInput , COMMANDS_TO_CREATE_KEY [ textType ] ( keyName ) , { paste : true } ) ;
57
57
await t . pressKey ( 'enter' ) ;
58
58
}
59
59
}
60
60
await t . click ( cliPage . cliCollapseButton ) ;
61
-
61
+ await t . click ( browserPage . refreshKeysButton ) ;
62
62
for ( const { textType, keyName } of keyTypes ) {
63
63
await browserPage . selectFilterGroupType ( textType ) ;
64
- const isKeyIsDisplayedInTheList = await browserPage . isKeyIsDisplayedInTheList ( keyName ) ;
65
- await t . expect ( isKeyIsDisplayedInTheList ) . ok ( `The key of type ${ textType } was found` ) ;
64
+ await t . expect ( await browserPage . isKeyIsDisplayedInTheList ( keyName ) ) . ok ( `The key of type ${ textType } was found` ) ;
66
65
await browserPage . deleteKey ( ) ;
67
66
}
68
67
} ) ;
Original file line number Diff line number Diff line change 132
132
await workbenchPage . sendCommandInWorkbench ( command ) ;
133
133
}
134
134
//Verify the quick access to command history by up button
135
+ await t . click ( workbenchPage . queryInput ) ;
135
136
for ( const command of commands . reverse ( ) ) {
136
- await t . click ( workbenchPage . queryInput ) ;
137
137
await t . pressKey ( 'up' ) ;
138
138
let script = await workbenchPage . scriptsLines . textContent ;
139
139
await t . expect ( script . replace ( / \s / g, ' ' ) ) . contains ( command , 'Result of Manual command is displayed' ) ;
You can’t perform that action at this time.
0 commit comments