Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions app/views/idv/verify_info/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,11 @@ locals:
</div>
</dl>
<div class='grid-auto'>
<%= button_to(
idv_doc_auth_step_url(step: :redo_address),
method: :put,
class: 'usa-button usa-button--unstyled',
<%= link_to(
t('idv.buttons.change_label'),
idv_address_url,
'aria-label': t('idv.buttons.change_address_label'),
) { t('idv.buttons.change_label') } %>
) %>
</div>
</div>
<div class="grid-row grid-gap grid-gap-2 padding-top-1">
Expand Down
2 changes: 1 addition & 1 deletion spec/features/idv/doc_auth/verify_info_step_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
end

it 'allows the user to enter in a new address and displays updated info' do
click_button t('idv.buttons.change_address_label')
click_link t('idv.buttons.change_address_label')
fill_in 'idv_form_zipcode', with: '12345'
fill_in 'idv_form_address2', with: 'Apt 3E'

Expand Down
2 changes: 1 addition & 1 deletion spec/support/features/doc_auth_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def complete_verify_step
def complete_doc_auth_steps_before_address_step(expect_accessible: false)
complete_doc_auth_steps_before_verify_step
expect(page).to be_axe_clean.according_to :section508, :"best-practice" if expect_accessible
click_button t('idv.buttons.change_address_label')
click_link t('idv.buttons.change_address_label')
end

def complete_doc_auth_steps_before_link_sent_step
Expand Down