diff --git a/spec/system/admin/site_customization/information_texts_spec.rb b/spec/system/admin/site_customization/information_texts_spec.rb index 5ee3d0e5f..ddd27f4e6 100644 --- a/spec/system/admin/site_customization/information_texts_spec.rb +++ b/spec/system/admin/site_customization/information_texts_spec.rb @@ -12,7 +12,8 @@ describe "Admin custom information texts", :admin do expect(page).to have_content "Help with participatory budgets" within("#information-texts-tabs") { click_link "Debates" } - expect(page).to have_content "Help about debates" + + expect(page).to have_content "Edit debate" within("#information-texts-tabs") { click_link "Community" } expect(page).to have_content "Access the community" diff --git a/spec/system/admin/translatable_spec.rb b/spec/system/admin/translatable_spec.rb index f83acf7ab..491efcf5d 100644 --- a/spec/system/admin/translatable_spec.rb +++ b/spec/system/admin/translatable_spec.rb @@ -321,7 +321,7 @@ describe "Admin edit translatable records", :admin do click_button "Save changes" - expect(page).not_to have_css "#error_explanation" + expect(page).to have_content "Process updated successfully" visit edit_admin_legislation_process_path(translatable)