Skip to content

Commit

Permalink
DM-4349: Disable contact form on About page (#749)
Browse files Browse the repository at this point in the history
Co-authored-by: Camille Villa <[email protected]>
  • Loading branch information
camillevilla and camillevilla authored Dec 11, 2023
1 parent 88c91c1 commit 12cb74c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/views/about/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@
<p class="usa-prose-body">
Have feedback or questions for the Diffusion Marketplace team? Send a message to <a href="mailto:[email protected]?subject=(About) Diffusion Marketplace Inquiry" class="usa-link">[email protected]</a> and we’ll get back to you as soon as we can.
</p>
<%= render partial: 'shared/email_form', locals: { path: about_path, additional_label_text: nil } %>
</div>
</section>
</div>
4 changes: 2 additions & 2 deletions spec/features/about_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
end

describe 'Send us feedback section' do
it 'should allow the user to send an email to the marketplace team' do
xit 'should allow the user to send an email to the marketplace team' do
fill_in('Your email', with: '[email protected]')
# all fields should be required
click_button('Send message')
Expand All @@ -58,7 +58,7 @@
expect(page).to have_content('You successfully sent a message to the Diffusion Marketplace team.')
end
#spam detector................................................................
it 'should log and redirect user to homepage if phone field is populated' do
xit 'should log and redirect user to homepage if phone field is populated' do
fill_in('Your email', with: '[email protected]')
fill_in('Subject line', with: 'Test subject')
fill_in('Your message', with: 'This is a test message')
Expand Down

0 comments on commit 12cb74c

Please sign in to comment.