diff options
Diffstat (limited to 'spec/features/groups/members/master_adds_member_with_expiration_date_spec.rb')
-rw-r--r-- | spec/features/groups/members/master_adds_member_with_expiration_date_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/groups/members/master_adds_member_with_expiration_date_spec.rb b/spec/features/groups/members/master_adds_member_with_expiration_date_spec.rb index c2eedfb4063..38eb226690c 100644 --- a/spec/features/groups/members/master_adds_member_with_expiration_date_spec.rb +++ b/spec/features/groups/members/master_adds_member_with_expiration_date_spec.rb @@ -48,7 +48,7 @@ RSpec.describe 'Groups > Members > Owner adds member with expiration date', :js, page.within second_row do expect(page).to have_field('Expiration date', with: expiration_date) - find('[data-testid="clear-button"]').click + find_by_testid('clear-button').click wait_for_requests |