Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: Today.Visit page
- As a doctor I need a page where I can enter patient's information about visit
- Background:
- Given I am "DOCTOR"
- And I have an appointment
- And I am on this appointment's page
- @test
- Scenario: Saving HPI form
- When I fill HPI form
- And I save HPI form
- And I refresh page
- Then I should see HPI form filled
- Scenario: Adding tag to favorites list in HPI form
- When I enter text in location
- And I select tag from list
- And I mark this tag as favorite
- And I refresh page
- Then I should see this tag in favorites list for location
- Scenario: Removing tag from favorites in HPI form
- When I click on remove-button on the tag in favorites list
- And I refresh page
- Then I should not see this tag in favorites list for location
- Scenario: Saving ROS form
- When I fill ROS form in such way
- | Yes | No | Clear |
- And I save ROS form
- And I refresh page
- Then I should see ROS form filled that way
- Scenario: Unselecting ROS form Yes-No-Clear controll
- When I click "Yes" in first ROS section controll
- And I click some "No" button in first ROS section
- Then I should see empty controll in first ROS section
- Scenario: Selecting ROS form Yes-No-Clear controll
- When I click all "No" buttons in first ROS section
- Then I should see selected "No" controll in first ROS section
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement