aldefouw / redcap_rsvc

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

B.3.14.1100 - Delete Record Data #108

Open aldefouw opened 10 months ago

aldefouw commented 10 months ago

Feature: B.3.14.1100 - Delete Record Data

Feature Location: https://github.com/aldefouw/redcap_rsvc/blob/v13.1.37/Feature%20Tests/B/Direct%20Data%20Entry%20-%20Data%20Collection%20Instrument/B.3.14.1100%20-%20Delete%20Record%20Data.feature

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

aldefouw commented 8 months ago
  1. Logging fields missing:

These fields do not exist in the instruments included with Project_3.14.xml:

https://github.com/aldefouw/redcap_rsvc/commit/7e84f30429b291d1f7d4a3bcc53a4c6c267125bb#diff-a73efce461f736e6315bd232467804bcdf70375e0eb3c2d873eecc69ff676462L43-L44

So I removed them from the logging items.

  1. Compared count of rows in reports instead of verifying a particular row does not exist:

https://github.com/aldefouw/redcap_rsvc/commit/7e84f30429b291d1f7d4a3bcc53a4c6c267125bb#diff-a73efce461f736e6315bd232467804bcdf70375e0eb3c2d873eecc69ff676462R42

https://github.com/aldefouw/redcap_rsvc/commit/7e84f30429b291d1f7d4a3bcc53a4c6c267125bb#diff-a73efce461f736e6315bd232467804bcdf70375e0eb3c2d873eecc69ff676462L58

There's not really a way to verify that data does not exist on a page but we can look at row changes and signal that changes have happened ...

aldefouw commented 8 months ago

Diff:

https://github.com/aldefouw/redcap_rsvc/commit/7e84f30429b291d1f7d4a3bcc53a4c6c267125bb

aldefouw commented 8 months ago

1 hr

minigojones commented 2 months ago

Actions taken on this Feature Test were reviewed and approved by RSVC leadership (Theresa Baker and Teresa Bosler) on 11-June-2024