@@ -36,10 +36,10 @@ protected function setUp(): void
36
36
public function testBroadcastBasic (): void
37
37
{
38
38
$ client = self ::createPantherClient ();
39
- $ client ->wait (5000 );
39
+ $ client ->wait (5 );
40
40
41
41
$ client ->request ('GET ' , '/books ' );
42
- $ client ->wait (5000 );
42
+ $ client ->wait (5 );
43
43
44
44
$ crawler = $ client ->submitForm ('Submit ' , ['title ' => self ::BOOK_TITLE ]);
45
45
// $client->waitForElementToContain('#books div', self::BOOK_TITLE);
@@ -59,10 +59,10 @@ public function testBroadcastBasic(): void
59
59
public function testExpressionLanguageBroadcast (): void
60
60
{
61
61
$ client = self ::createPantherClient ();
62
- $ client ->wait (5000 );
62
+ $ client ->wait (5 );
63
63
64
64
$ client ->request ('GET ' , '/artists ' );
65
- $ client ->wait (5000 );
65
+ $ client ->wait (5 );
66
66
67
67
$ client ->submitForm ('Submit ' , ['name ' => self ::ARTIST_NAME_1 ]);
68
68
$ client ->waitForElementToContain ('#artists div:nth-child(1) ' , self ::ARTIST_NAME_1 , 5 );
@@ -81,14 +81,14 @@ public function testExpressionLanguageBroadcast(): void
81
81
$ artist2Id = $ matches [1 ][1 ];
82
82
83
83
$ clientArtist1 = self ::createAdditionalPantherClient ();
84
- $ clientArtist1 ->wait (5000 );
84
+ $ clientArtist1 ->wait (5 );
85
85
$ clientArtist1 ->request ('GET ' , '/artists/ ' .$ artist1Id );
86
- $ clientArtist1 ->wait (5000 );
86
+ $ clientArtist1 ->wait (5 );
87
87
88
88
$ clientArtist2 = self ::createAdditionalPantherClient ();
89
- $ clientArtist2 ->wait (5000 );
89
+ $ clientArtist2 ->wait (5 );
90
90
$ clientArtist2 ->request ('GET ' , '/artists/ ' .$ artist2Id );
91
- $ clientArtist2 ->wait (5000 );
91
+ $ clientArtist2 ->wait (5 );
92
92
93
93
$ client ->request ('GET ' , '/songs ' );
94
94
@@ -108,11 +108,11 @@ public function testExpressionLanguageBroadcast(): void
108
108
public function testBroadcastWithProxy (): void
109
109
{
110
110
$ client = self ::createPantherClient ();
111
- $ client ->wait (5000 );
111
+ $ client ->wait (5 );
112
112
113
113
// testing that Artist is updated, even though it's saved as Proxy
114
114
$ client ->request ('GET ' , '/artistFromSong ' );
115
- $ client ->wait (5000 );
115
+ $ client ->wait (5 );
116
116
117
117
// submit first time to create the artist
118
118
$ client ->submitForm ('Submit ' );
0 commit comments