diff --git a/spec/features/admin_set_form_participants_tab_spec.rb b/spec/features/admin_set_form_participants_tab_spec.rb index b65f3f5cb..8baf6fdb0 100644 --- a/spec/features/admin_set_form_participants_tab_spec.rb +++ b/spec/features/admin_set_form_participants_tab_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe 'AdminSet form Participants tab', type: :feature, js: true, clean: true, ci: 'skip' do +RSpec.describe 'AdminSet form Participants tab', type: :feature, js: true, clean: true do include Warden::Test::Helpers context 'as an admin user' do @@ -63,7 +63,7 @@ text: group.humanized_name ).click find('select#permission_template_access_grants_attributes_0_access option', text: 'Manager').click - find('input.btn-info').click + find('input.btn-secondary').click end expect(find('table.managers-table')).to have_content(group.name.titleize) @@ -86,7 +86,7 @@ text: group.humanized_name ).click find('select#permission_template_access_grants_attributes_0_access option', text: 'Depositor').click - find('input.btn-info').click + find('input.btn-secondary').click end expect(find('table.managers-table')).not_to have_content(group.name.titleize) @@ -109,7 +109,7 @@ text: group.humanized_name ).click find('select#permission_template_access_grants_attributes_0_access option', text: 'Viewer').click - find('input.btn-info').click + find('input.btn-secondary').click end expect(find('table.managers-table')).not_to have_content(group.name.titleize) @@ -136,10 +136,9 @@ .find(:xpath, '//td[@data-agent="admin"]') .find(:xpath, '..')['innerHTML'] expect(manager_row_html).to include('