diff --git a/spec/features/verification/email_spec.rb b/spec/features/verification/email_spec.rb index 336f4946a..12d248838 100644 --- a/spec/features/verification/email_spec.rb +++ b/spec/features/verification/email_spec.rb @@ -30,7 +30,7 @@ feature 'Verify email' do expect(page).to have_content "You are now a verified user" expect(page).to_not have_link "Verify my account" - expect(page).to have_content "You are a level 3 user" + expect(page).to have_content "Verified account" end scenario "Errors on token verification" do diff --git a/spec/features/verification/letter_spec.rb b/spec/features/verification/letter_spec.rb index fa4a451db..9a462feaf 100644 --- a/spec/features/verification/letter_spec.rb +++ b/spec/features/verification/letter_spec.rb @@ -10,7 +10,7 @@ feature 'Verify Letter' do click_button "Send me a letter" - expect(page).to have_content "You will receive a letter to your home address" + expect(page).to have_content "Thank you for requesting a code maximum security in a few days we will send it to the address on your census data. Remember that you can save shipping collecting your code in any of the Office of Citizen Services." end scenario "Error accessing address from CensusApi" do @@ -34,7 +34,7 @@ feature 'Verify Letter' do click_button "Send me a letter" - expect(page).to have_content "You will receive a letter to your home address" + expect(page).to have_content "Thank you for requesting a code maximum security in a few days we will send it to the address on your census data. Remember that you can save shipping collecting your code in any of the Office of Citizen Services." end scenario "Deny access unless verified residence" do @@ -53,7 +53,7 @@ feature 'Verify Letter' do login_as(user) visit new_letter_path - expect(page).to have_content 'You have not yet confirmed your personal data' + expect(page).to have_content 'You have not yet enter the confirmation code' expect(URI.parse(current_url).path).to eq(new_sms_path) end diff --git a/spec/features/verification/level_three_verification_spec.rb b/spec/features/verification/level_three_verification_spec.rb index 4f7cc9bf3..112fd859b 100644 --- a/spec/features/verification/level_three_verification_spec.rb +++ b/spec/features/verification/level_three_verification_spec.rb @@ -28,10 +28,10 @@ feature 'Level three verification' do expect(page).to have_content 'Correct code' - expect(page).to have_content "You are now a verified user" + expect(page).to have_content "Correct code. Your account is verified" expect(page).to_not have_link "Verify my account" - expect(page).to have_content "You are a level 3 user" + expect(page).to have_content "Verified account" end scenario 'Verification with residency and verified email' do @@ -61,7 +61,7 @@ feature 'Level three verification' do expect(page).to have_content "You are now a verified user" expect(page).to_not have_link "Verify my account" - expect(page).to have_content "You are a level 3 user" + expect(page).to have_content "Verified account" end scenario 'Verification with residency and sms and letter' do @@ -87,6 +87,6 @@ feature 'Level three verification' do click_button "Send me a letter" - expect(page).to have_content "You will receive a letter to your home address" + expect(page).to have_content "Thank you for requesting a code maximum security in a few days we will send it to the address on your census data. Remember that you can save shipping collecting your code in any of the Office of Citizen Services." end end \ No newline at end of file