Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. Feature: Today.Visit page
  2. As a doctor I need a page where I can enter patient's information about visit
  3.  
  4. Background:
  5. Given I am "DOCTOR"
  6. And I have an appointment
  7. And I am on this appointment's page
  8.  
  9. @test
  10. Scenario: Saving HPI form
  11. When I fill HPI form
  12. And I save HPI form
  13. And I refresh page
  14. Then I should see HPI form filled
  15.  
  16. Scenario: Adding tag to favorites list in HPI form
  17. When I enter text in location
  18. And I select tag from list
  19. And I mark this tag as favorite
  20. And I refresh page
  21. Then I should see this tag in favorites list for location
  22.  
  23. Scenario: Removing tag from favorites in HPI form
  24. When I click on remove-button on the tag in favorites list
  25. And I refresh page
  26. Then I should not see this tag in favorites list for location
  27.  
  28. Scenario: Saving ROS form
  29. When I fill ROS form in such way
  30. | Yes | No | Clear |
  31. And I save ROS form
  32. And I refresh page
  33. Then I should see ROS form filled that way
  34.  
  35. Scenario: Unselecting ROS form Yes-No-Clear controll
  36. When I click "Yes" in first ROS section controll
  37. And I click some "No" button in first ROS section
  38. Then I should see empty controll in first ROS section
  39.  
  40. Scenario: Selecting ROS form Yes-No-Clear controll
  41. When I click all "No" buttons in first ROS section
  42. Then I should see selected "No" controll in first ROS section
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement