Skip to content

Commit

Permalink
Added test for dusk selector not being first
Browse files Browse the repository at this point in the history
  • Loading branch information
rabrowne85 committed Jun 17, 2024
1 parent 6a07897 commit 993943a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Unit/ElementResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ public function test_format_correctly_formats_selectors()
$this->assertSame('prefix #first-third', $resolver->format('@modal-third'));
$this->assertSame('prefix [dusk="missing-element"]', $resolver->format('@missing-element'));
$this->assertSame('prefix [dusk="missing-element"] > div', $resolver->format('@missing-element > div'));
$this->assertSame('prefix div > [dusk="missing-element"]', $resolver->format('div > @missing-element'));
}

public function test_find_by_id_with_colon()
Expand Down

0 comments on commit 993943a

Please sign in to comment.