@@ -23,7 +23,7 @@ public function testLoadData(): void
2323 ->assertInputValue ('first ' , 100 )
2424 ->assertDontSee ('The result of adding the first argument and the second ' )
2525 ->type ('second ' , 200 )
26- ->click ( ' h1 ' ) // return cursor for run event onchange
26+ ->keys ( ' second ' , ' {tab} ' )
2727 ->waitForText ('The result of adding the first argument and the second ' )
2828 ->assertSee ('SUM ' )
2929 ->assertInputValue ('sum ' , 300 );
@@ -42,7 +42,7 @@ public function testLoadDataFromModal(): void
4242 ->assertInputValue ('first ' , 100 )
4343 ->assertDontSee ('The result of adding the first argument and the second ' )
4444 ->type ('second ' , 200 )
45- ->click ( ' h1 ' ) // return cursor for run event onchange
45+ ->keys ( ' second ' , ' {tab} ' )
4646 ->waitForText ('The result of adding the first argument and the second ' )
4747 ->assertSee ('SUM ' )
4848 ->assertInputValue ('sum ' , 300 );
@@ -59,7 +59,7 @@ public function testLoadDataFromNestedTargets(): void
5959 ->assertInputValue ('father[first] ' , 100 )
6060 ->assertDontSee ('The result of adding the first argument and the second ' )
6161 ->type ('father[second] ' , 200 )
62- ->click ( ' h1 ' ) // return cursor for run event onchange
62+ ->keys ( ' father[second] ' , ' {tab} ' )
6363 ->waitForText ('The result of adding the first argument and the second ' )
6464 ->assertSee ('SUM ' )
6565 ->assertInputValue ('sum ' , 300 );
0 commit comments