Created
November 9, 2017 18:42
-
-
Save greghoggard/7d46a5c85a27bcf207e7345b560a8388 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| transaction '01_my_site_visit_home_page' do | |
| visit '/' do | |
| assert contains: 'Welcome to my site' | |
| end | |
| end | |
| transaction '02_my_site_login' do | |
| submit '/login', { | |
| fill_in: { | |
| 'utf8' => '%E2%9C%93', | |
| 'authenticity_token' => '${authenticity_token}', | |
| 'user[name]' => 'Timmy', | |
| 'user[password]' => 'Tables', | |
| 'commit' => 'Sign In' | |
| } | |
| } | |
| end | |
| end | |
| end.jmx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment