File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,10 @@ public function testExpressionLanguageBroadcast(): void
57
57
($ client = self ::createPantherClient ())->request ('GET ' , '/artists ' );
58
58
59
59
$ client ->submitForm ('Submit ' , ['name ' => self ::ARTIST_NAME_1 ]);
60
- $ client ->waitForElementToContain ('#artists div:nth-child(1) ' , self ::ARTIST_NAME_1 );
60
+ $ client ->waitForElementToContain ('#artists div:nth-child(1) ' , self ::ARTIST_NAME_1 , 5 );
61
+
61
62
$ client ->submitForm ('Submit ' , ['name ' => self ::ARTIST_NAME_2 ]);
62
- $ client ->waitForElementToContain ('#artists div:nth-child(2) ' , self ::ARTIST_NAME_2 );
63
+ $ client ->waitForElementToContain ('#artists div:nth-child(2) ' , self ::ARTIST_NAME_2 , 5 );
63
64
64
65
$ crawlerArtist = $ client ->getCrawler ();
65
66
@@ -78,7 +79,7 @@ public function testExpressionLanguageBroadcast(): void
78
79
79
80
$ client ->submitForm ('Submit ' , ['title ' => self ::SONG_TITLE , 'artistId ' => $ artist1Id ]);
80
81
81
- $ clientArtist1 ->waitForElementToContain ('#songs div ' , self ::SONG_TITLE );
82
+ $ clientArtist1 ->waitForElementToContain ('#songs div ' , self ::SONG_TITLE , 5 );
82
83
83
84
$ songsElement = $ clientArtist2 ->findElement (WebDriverBy::cssSelector ('#songs ' ));
84
85
You can’t perform that action at this time.
0 commit comments