Replace link with button in letter verification

This commit is contained in:
cyrillefr
2025-04-25 08:48:27 +02:00
parent c989210e74
commit f0e696b972
4 changed files with 7 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ describe "Level three verification" do
verify_residence
confirm_phone(code: "1234")
click_link "Send me a letter with the code"
click_button "Send me a letter with the code"
expect(page).to have_content "Thank you for requesting your maximum security code " \
"(only required for the final votes). In a few days " \