File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -129,10 +129,7 @@ suite(
129129
130130 await this . browser . pause ( PAUSE_TIME ) ;
131131 // Right click a block
132- const element = await getBlockElementById (
133- this . browser ,
134- 'simple_circle_1' ,
135- ) ;
132+ const element = await getBlockElementById ( this . browser , 'controls_if_1' ) ;
136133 await element . click ( { button : 'right' } ) ;
137134 await this . browser . pause ( PAUSE_TIME ) ;
138135
@@ -146,11 +143,8 @@ suite(
146143
147144 await this . browser . pause ( PAUSE_TIME ) ;
148145 // Drag a block
149- const element = await getBlockElementById (
150- this . browser ,
151- 'simple_circle_1' ,
152- ) ;
153- await element . dragAndDrop ( { x : 100 , y : 100 } ) ;
146+ const element = await getBlockElementById ( this . browser , 'controls_if_1' ) ;
147+ await element . dragAndDrop ( { x : 10 , y : 10 } ) ;
154148 await this . browser . pause ( PAUSE_TIME ) ;
155149
156150 chai . assert . isFalse ( await isKeyboardNavigating ( this . browser ) ) ;
You can’t perform that action at this time.
0 commit comments