APP 188 patient file morbidity report management - #3552
Conversation
…into kc/APP-188-Patient-File-Morbidity-Report-Management
… with helper functions
…into kc/APP-188-Patient-File-Morbidity-Report-Management
…into kc/APP-188-Patient-File-Morbidity-Report-Management
…ttps://github.com/CDCgov/NEDSS-Modernization into kc/APP-188-Patient-File-Morbidity-Report-Management
| And I click the Submit button | ||
| And user clicks the "View File" link, the user is returned to Patient profile summary page | ||
| And Click Events tab on Patient Profile Page | ||
| Then the "Investigations" count should increase by 1 in the Events tab |
There was a problem hiding this comment.
(q, nb): should the morbidity report count also increase by 1?
There was a problem hiding this comment.
It wasn't part of the written scenario but I could definitely add it as an extra check
| And I click on the Code Lookup button | ||
| And I select "No" from the Pregnant dropdown menu | ||
| And I click the Submit and Create Investigation button | ||
| And I click the Submit button |
There was a problem hiding this comment.
(sugg, nb): should we check anything about the investigation page? (is that where we are?)
There was a problem hiding this comment.
No, we are at the patient profile page where it shows a count of how many investigations there are. I didn't think there was anything we need to check about the investigation page, but lmk if you have ideas!
| } | ||
|
|
||
| clickAddTreatment() { | ||
| cy.get(this.addTreatmentButton).click(); |
There was a problem hiding this comment.
(sugg/q, nb): for the simpler interactions would we be able to use generic instructions (from generic.steps.js) instead of expanding the steps/page specific rules here? I know this is a change in approach for these features/pages, so feel free to disregard
There was a problem hiding this comment.
Unfortunately, I don't think these are generic enough for anything in generic.steps.js. The selectors are annoyingly not always uniquely identifiable via name or id and the roles are not consistent enough.
There was a problem hiding this comment.
ah well - a kid could dream
Description
e2e tests of patient field morbidity report management
Tickets
Checklist before requesting a review