Skip to content

Commit 0436681

Browse files
committed
wait more?
1 parent d8cbe39 commit 0436681

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/Turbo/tests/BroadcastTest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ protected function setUp(): void
3636
public function testBroadcastBasic(): void
3737
{
3838
$client = self::createPantherClient();
39-
$client->wait(5000);
39+
$client->wait(5);
4040

4141
$client->request('GET', '/books');
42-
$client->wait(5000);
42+
$client->wait(5);
4343

4444
$crawler = $client->submitForm('Submit', ['title' => self::BOOK_TITLE]);
4545
// $client->waitForElementToContain('#books div', self::BOOK_TITLE);
@@ -59,10 +59,10 @@ public function testBroadcastBasic(): void
5959
public function testExpressionLanguageBroadcast(): void
6060
{
6161
$client = self::createPantherClient();
62-
$client->wait(5000);
62+
$client->wait(5);
6363

6464
$client->request('GET', '/artists');
65-
$client->wait(5000);
65+
$client->wait(5);
6666

6767
$client->submitForm('Submit', ['name' => self::ARTIST_NAME_1]);
6868
$client->waitForElementToContain('#artists div:nth-child(1)', self::ARTIST_NAME_1, 5);
@@ -81,14 +81,14 @@ public function testExpressionLanguageBroadcast(): void
8181
$artist2Id = $matches[1][1];
8282

8383
$clientArtist1 = self::createAdditionalPantherClient();
84-
$clientArtist1->wait(5000);
84+
$clientArtist1->wait(5);
8585
$clientArtist1->request('GET', '/artists/'.$artist1Id);
86-
$clientArtist1->wait(5000);
86+
$clientArtist1->wait(5);
8787

8888
$clientArtist2 = self::createAdditionalPantherClient();
89-
$clientArtist2->wait(5000);
89+
$clientArtist2->wait(5);
9090
$clientArtist2->request('GET', '/artists/'.$artist2Id);
91-
$clientArtist2->wait(5000);
91+
$clientArtist2->wait(5);
9292

9393
$client->request('GET', '/songs');
9494

@@ -108,11 +108,11 @@ public function testExpressionLanguageBroadcast(): void
108108
public function testBroadcastWithProxy(): void
109109
{
110110
$client = self::createPantherClient();
111-
$client->wait(5000);
111+
$client->wait(5);
112112

113113
// testing that Artist is updated, even though it's saved as Proxy
114114
$client->request('GET', '/artistFromSong');
115-
$client->wait(5000);
115+
$client->wait(5);
116116

117117
// submit first time to create the artist
118118
$client->submitForm('Submit');

src/Turbo/tests/TurboFrameTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class TurboFrameTest extends PantherTestCase
2121
public function testFrame(): void
2222
{
2323
$client = self::createPantherClient();
24-
$client->wait(5000);
24+
$client->wait(5);
2525

2626
$client->request('GET', '/');
2727

src/Turbo/tests/TurboStreamTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class TurboStreamTest extends PantherTestCase
2121
public function testStream(): void
2222
{
2323
$client = self::createPantherClient();
24-
$client->wait(5000);
24+
$client->wait(5);
2525

2626
$client->request('GET', '/');
2727

0 commit comments

Comments
 (0)