File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ const startBlocks = {
9898 ] ,
9999 } ,
100100} ;
101- const pauseLength = 20 ;
101+ const pauseLength = 200 ;
102102
103103suite ( 'Delete blocks' , function ( done ) {
104104 // Setting timeout to unlimited as the webdriver takes a longer time to run than most mocha test
@@ -167,9 +167,7 @@ suite('Delete blocks', function (done) {
167167 test ( 'Delete block using context menu' , async function ( ) {
168168 const before = ( await getAllBlocks ( this . browser ) ) . length ;
169169 // Get first print block, click to select it, and delete it using context menu.
170- const block = ( await getBlockElementById ( this . browser , firstBlockId ) ) . $ (
171- '.blocklyPath' ,
172- ) ;
170+ const block = await getBlockElementById ( this . browser , firstBlockId ) ;
173171 await contextMenuSelect ( this . browser , block , 'Delete 2 Blocks' ) ;
174172 const after = ( await getAllBlocks ( this . browser ) ) . length ;
175173 chai . assert . equal (
You can’t perform that action at this time.
0 commit comments