-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DM-4349: Disable contact form on About page (#749)
Co-authored-by: Camille Villa <[email protected]>
- Loading branch information
1 parent
88c91c1
commit 12cb74c
Showing
2 changed files
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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') | ||
|
@@ -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') | ||
|