Skip to content

Commit

Permalink
feat!: have assert(Not)SeeIn() look in all matching node's text
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Jan 26, 2024
1 parent 66353b0 commit c3237f8
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 @@ -221,6 +221,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 c3237f8

Please sign in to comment.