aldefouw / redcap_rsvc

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

B.5.21.200 - Export Data to External Format #138

Open aldefouw opened 8 months ago

aldefouw commented 8 months ago

Feature: B.5.21.200 - Export Data to External Format

Feature Location: https://github.com/aldefouw/redcap_rsvc/blob/v13.1.37/Feature%20Tests/B/Export%20Data/B.5.21.200%20-%20Export%20Data%20to%20External%20Format.feature

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

trasuli0207 commented 5 months ago

@aldefouw commenting here to get assigned :)

trasuli0207 commented 5 months ago

@aldefouw not sure why this will not pass. The cypress window also shows it as "SPSS" however it still throws an error & the language is correct since it passed for the others. I tried sps as well. Not sure what the error could

Image

error in cypress: 209 then{}, function(){} ReferenceError sps is not defined

Step def: Given I click on the download icons to receive the files for the "SPSS Statistical Software" format in the dialog box

aldefouw commented 5 months ago

@trasuli0207 - It looks like there is a step definition error.

I'll make a fix soon.

aldefouw commented 4 months ago

If you went into RCTF folder within /node_modules/ you need it to be the "sps" string rather than a constant: https://github.com/aldefouw/rctf/commit/61b130ddaa294ca3af9571f3451ad1dcc85683c4

Also was a bug with the .eq() where it should not have been (i) - should have been 0: https://github.com/aldefouw/rctf/commit/7d045ea4ad8c440c426a604375e8c811ebe66e05

trasuli0207 commented 4 months ago

@aldefouw pushed changes. A little reminder to fix the .xml fille download to not format on hh:mm when downloading. :) Thanks so much for all your help! :)