department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
282 stars 203 forks source link

[FSR] Discovery: Experimental / Dev options for testing #69390

Closed Dr-Pongo closed 5 months ago

Dr-Pongo commented 11 months ago

Description

It would be really nice to be able to have a dev version of the FSR where we have some more wiggle room with playing outside of using a feature flag.

There's been some investigation into bypassing login for local devs, but it would be helpful to have an unauth version of the form we can use and share for testing maybe on the dev.va.gov environment instead of staging.

There are existing variables/functions we can leverage to determine what environment the application is currently being run in, so maybe we can leverage these to load a separate form schema where we can have experimental pages and versions of the form strictly for testing purposes.

platform environment helpers can be found below: src/platform/utilities/environment/index.js, isDev looks promising

Tasks

Acceptance criteria

Testing

Ticket creation

Ticket requirements ### Required to be "Ready" - [x] Description written - [x] Tasks defined - [x] Acceptance criteria written - [x] Testing defined - [x] Add Labels - [ ] Attach to an Epic - [x] Estimate Points
amponce commented 11 months ago

@Dr-Pongo @HeatherRienks, I have added a new PR related to issue #69390. However, there is currently no ticket tracking the work I completed. This PR is for enhancing the GMT Threshold developer experience

HeatherRienks commented 11 months ago

Thanks. @amponce! Looks good!

denisecoveyduc commented 9 months ago

@Dr-Pongo Is the original ask on this ticket still needed?

HeatherRienks commented 9 months ago

Per @Dr-Pongo - he will review this next week in further detail and report back.

Dr-Pongo commented 9 months ago

I do think this would be beneficial to explore, especially once we clean up some of the legacy version of the FSR. Having the option for an unauthenticated or just testing version of the FSR on production could be massively beneficial for getting user feedback. I think the largest time drain in testing sessions revolve around sign in issues, so this could help that process. We could also load smaller portions of the form for specified feedback so it won't be necessary to have a veteran work through the lengthy form. Let me know if that makes sense!

@denisecoveyduc @HeatherRienks

OptionSelect commented 5 months ago

Per convo with Andrew noting my findings, dropping and moving on, but seems like its not operable to me. I don't believe feeding an alternate formConfig to the App seems to work fully. I was able to get into the supposed flow as evidenced by the screenshot with the Test preceding the subheading and less chapters; however, after completing the veteran info chapter we should be navigated to resolution options but instead were routed to household income. Its as if it still had knowledge of the other config even though we were certainly inside the environment.isLocalhost testFormConfig that was fed to the App.

image.png image.png image.png image.png
HeatherRienks commented 5 months ago

Per FE Sync and @OptionSelect, let's have another FE dev look at this to see what our options are. Will create a new tix for the backlog.