Skip to content

Commit 864f440

Browse files
committed
added match
1 parent 43078b3 commit 864f440

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/system/post_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def setup
5252
# There should be 3 tags that show up as a card
5353
page.assert_selector('.tags-list .card-body', :count => 3)
5454

55-
find('.tags-list:first-of-type .card-body .ellipsis').click()
55+
find(".tags-list .card-body .ellipsis", match: :first).click()
5656

5757
accept_alert do
5858
find('.tags-list .card-body .tag-delete').click()

0 commit comments

Comments
 (0)