File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -41,16 +41,9 @@ describe('Saved Scripts', () => {
4141 cy . get ( '[data-testid="scriptTitle-script name"]' ) . click ( )
4242 cy . get ( '[data-testid="currentlyEditing"]' ) . contains ( 'script name' )
4343 // Editing script updates name and content
44- cy . get ( '[data-testid="activeEditor"] textarea' ) . type (
45- `// Guide
46- :play movies${
47- '{del}' . repeat (
48- 22
49- ) /* normal clear doesn't seem to work with code-mirror text field*/
50- }
51- ` ,
52- { force : true }
53- )
44+ cy . get ( '[data-testid="activeEditor"] textarea' )
45+ . type ( '{meta}a{del}' ) // select all and delete
46+ . type ( '// Guide{shift}{enter}:play movies' , { force : true } )
5447 cy . get ( '[title="Update favorite"]' ) . click ( )
5548
5649 cy . get ( '[data-testid="scriptTitle-Guide"]' ) . should ( 'exist' )
You can’t perform that action at this time.
0 commit comments