CareEvolution / MyDataHelpsUI

MyDataHelps UI React Component Library
MIT License
1 stars 1 forks source link

When attempting to add a device in QA, specifically Fitbit you are taken to the incorrect log in screen (NextGen provider) #288

Open DKaczmar opened 1 month ago

DKaczmar commented 1 month ago

Testing in QA discovered, that when you create a survey to Add device and select Fitbit, when you attempt to 'Connect to Fitbit' on the step you are launched or taken to the NextGen Provider log in page.

The survey can not be properly tested in this state.

image

image

chrisnowak commented 1 month ago

Is this only in MyDataHelps Designer? Or also when accessing the survey as a participant via mdhorg.ce.dev?

DKaczmar commented 1 month ago

Good question, it is only within MDHD.

I just tested the MDH app and web site and it worked fine using the Add Device survey I created in QA.

ashleyrtate commented 1 month ago

Need to add a check for https://designer.mydatahelps.dev here: https://github.com/CareEvolution/MyDataHelpsUI/blob/main/src/helpers/providerIDs.ts#L3

And seems like a good time to refactor those checks into a list of dev urls.