From 04f83fbccee8fab7c368bb8d17d7359dcf35f0c4 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 24 Jul 2023 14:31:27 +0100 Subject: [PATCH] Finally, update system test for an end-to-end testing --- spec/system/consumer/registration_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/system/consumer/registration_spec.rb b/spec/system/consumer/registration_spec.rb index b7e919f170..9e184e7cd3 100644 --- a/spec/system/consumer/registration_spec.rb +++ b/spec/system/consumer/registration_spec.rb @@ -155,6 +155,8 @@ describe "Registration" do page.find('.full_hub h3').click click_button "Select and Continue" expect(page).to have_content "Your profile live" + click_link "Manage My Awesome Enterprise" + expect(page).to have_checked_field "enterprise_visible_only_through_links" end context "when the user has no more remaining enterprises" do