aldefouw / redcap_rsvc

REDCap Regulatory & Software Validation Committee (RSVC) - Automated validation feature test scripts
GNU General Public License v3.0
3 stars 8 forks source link

A.6.4.1600 - Edit Survey Responses.feature #73

Open aldefouw opened 10 months ago

aldefouw commented 10 months ago

Feature: A.6.4.1600 - Enable & Disable Editing of Survey Responses

Feature Location: https://github.com/aldefouw/redcap_rsvc/blob/v13.1.37/Feature%20Tests/A/Project%20Setup/A.6.4.1600%20-%20Edit%20Survey%20Responses.feature

Task: Review Gherkin and adjust feature as necessary for syntax accuracy and test correctness.

aldefouw commented 10 months ago

https://github.com/aldefouw/redcap_rsvc/blob/v13.1.37/Feature%20Tests/A/Project%20Setup/A.6.4.1600%20-%20Edit%20Survey%20Responses.feature#L23

Need to consider how to handle this.

Step as described in the manual test is that we should not see a checkbox labeled "Edit survey responses" ... but that isn't quite accurate since we're looking for a corresponding checkbox in that column:

Image

aldefouw commented 9 months ago

This was how we dealt with the above issue ...

https://github.com/aldefouw/redcap_rsvc/commit/21aed8d29364d7f2d6d468db6f1ec288a6fde0a2#diff-cb92f34c82fa8af36f5cb2853bd61961d0f4ee4f7aa32baa31784af4bab4f00bR56

aldefouw commented 9 months ago

Note that we need to return to the REDCap page we were on previously and here's how we do that: https://github.com/aldefouw/redcap_rsvc/commit/21aed8d29364d7f2d6d468db6f1ec288a6fde0a2#diff-cb92f34c82fa8af36f5cb2853bd61961d0f4ee4f7aa32baa31784af4bab4f00bR75

aldefouw commented 9 months ago

There were several lines of the feature that needed carriage returns between them:

https://github.com/aldefouw/redcap_rsvc/commit/21aed8d29364d7f2d6d468db6f1ec288a6fde0a2#diff-cb92f34c82fa8af36f5cb2853bd61961d0f4ee4f7aa32baa31784af4bab4f00bL56-L60