Skip to content

Instantly share code, notes, and snippets.

@AdrienLemaire
Last active February 4, 2019 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdrienLemaire/d1ebf051cc2008049494a3c1e74335e0 to your computer and use it in GitHub Desktop.
Save AdrienLemaire/d1ebf051cc2008049494a3c1e74335e0 to your computer and use it in GitHub Desktop.
BDD scenario
Feature: Contact form
Make sure that the contact form on XPC works as expected
Scenario: Company sending an email
Given a company member going to the contact form
When he fills the form
| name | value |
| lastName | Snow |
| firstName | John |
| email | king@example.com |
| phoneNumber | 00000000000 |
| companyName | The North |
| industry | IT |
| comment | How does this work ? |
| agreeTerms | true |
Then he sees a thank you message
And emails are sent
| to | subject |
| admin@gounite.com | GOuniteWebサイトからのお問合せ |
| king@example.com | GOuniteWebサイトへのお問い合わせ内容確認 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment