Skip to content

Commit

Permalink
Fix PreviewTest, 5th attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm committed Jun 26, 2024
1 parent 40b0e10 commit 1fcb09b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Browser/Mail/PreviewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ public function testPreviewMorelink()
$browser->waitFor('img.contactphoto');

$browser->assertSeeIn('.subject', 'Lines');
$browser->withinFrame('#message-part1', static function ($browser) {
$browser->assertSeeIn('div.pre', 'Plain text message body.')
$browser->withinFrame('#message-part1', static function ($iframe) {
$iframe->assertSeeIn('div.pre', 'Plain text message body.')
->assertVisible('div.pre .sig');
});

Expand Down

0 comments on commit 1fcb09b

Please sign in to comment.