@@ -255,40 +255,33 @@ suite('Keyboard navigation on Blocks', function () {
255255 . to . include ( 'controls_repeat_ext_1_connection_' ) ;
256256 } ) ;
257257
258- /*
259258 // This test fails because the curly quote icons get selected.
260- test('Right from text block selects input and skips curly quote icons', async function () {
259+ test . skip ( 'Right from text block selects input and skips curly quote icons' , async function ( ) {
261260 await focusWorkspace ( this . browser ) ;
262261 await this . browser . pause ( PAUSE_TIME ) ;
263262 await setCurrentCursorNodeById ( this . browser , 'text_print_1' ) ;
264263 await this . browser . pause ( PAUSE_TIME ) ;
265264 await this . browser . keys ( Key . ArrowRight ) ;
266265 await this . browser . pause ( PAUSE_TIME ) ;
267266
268- chai.assert.equal(await getCurrentCursorNodeId(this.browser), 'text_1');
269- chai.assert.equal(
270- await getCurrentCursorNodeType(this.browser),
271- Blockly.ASTNode.types.BLOCK,
272- );
267+ chai . assert . equal ( await getCurrentFocusNodeId ( this . browser ) , 'text_1' ) ;
273268
274269 await this . browser . keys ( Key . ArrowRight ) ;
275270 await this . browser . pause ( PAUSE_TIME ) ;
276271
277272 chai . assert . equal (
278- await getCurrentCursorNodeId (this.browser),
273+ await getCurrentFocusNodeId ( this . browser ) ,
279274 'text_print_1' ,
280275 ) ;
281276 chai . assert . equal (
282- await getCurrentCursorNodeType (this.browser),
277+ await getCurrentFocusNodeId ( this . browser ) ,
283278 Blockly . ASTNode . types . NEXT ,
284279 ) ;
285280 } ) ;
286- */
287281} ) ;
288282
289- /*
290283// These tests fail because focusing on a field doesn't update the cursor
291- suite('Keyboard navigation on Fields', function () {
284+ suite . skip ( 'Keyboard navigation on Fields' , function ( ) {
292285 // Setting timeout to unlimited as these tests take a longer time to run than most mocha test
293286 this . timeout ( 0 ) ;
294287
@@ -440,4 +433,3 @@ suite('Keyboard navigation on Fields', function () {
440433 } ) ;
441434
442435} ) ;
443- */
0 commit comments