From b15e2504544a5ff2b2857bb0102659122f7fe96d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergei=20Ts=C3=B5ganov?= Date: Wed, 9 Feb 2022 11:54:10 +0200 Subject: [PATCH] Modified capybara fill_in method --- test/system/registrar_area/contact_test.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/system/registrar_area/contact_test.rb b/test/system/registrar_area/contact_test.rb index 49726029b..8d156f1b8 100644 --- a/test/system/registrar_area/contact_test.rb +++ b/test/system/registrar_area/contact_test.rb @@ -11,10 +11,10 @@ class RegistrarAreaContactTest < ApplicationSystemTestCase visit registrar_contacts_path click_on 'New' - fill_in 'Ident', with: @contact.ident - fill_in 'Name', with: @contact.name - fill_in 'E-mail', with: @contact.email - fill_in 'Phone', with: '372' + fill_in 'depp_contact_ident', with: @contact.ident + fill_in 'depp_contact_name', with: @contact.name + fill_in 'depp_contact_email', with: @contact.email + fill_in 'depp_contact_phone', with: '372' click_on 'Create' assert_text 'Phone number must be in +XXX.YYYYYYY format' @@ -37,7 +37,7 @@ class RegistrarAreaContactTest < ApplicationSystemTestCase assert_text "Edit: #{depp_contact.name}" - fill_in 'Phone', with: '372' + fill_in 'depp_contact_phone', with: '372' click_on 'Save' assert_text 'Phone number must be in +XXX.YYYYYYY format'