Skip to content

Commit

Permalink
feat!: have assert(Not)SeeIn() look in all matching node's text (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond authored Feb 21, 2024
1 parent f5e166d commit 93a3ab2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/BrowserTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,18 @@ public function content_assertions(): void
;
}

/**
* @test
*/
public function assert_see_in_multiple_elements(): void
{
$this->browser()
->visit('/page1')
->assertSeeIn('ul li', 'list 2')
->assertNotSeeIn('ul li', 'something')
;
}

/**
* @test
*/
Expand Down

0 comments on commit 93a3ab2

Please sign in to comment.