sennetconsortium / portal-ui

0 stars 1 forks source link

Mock Globus service authorization calls for Portal UI Cypress test automation #1514

Open maxsibilla opened 1 month ago

maxsibilla commented 1 month ago

Currently the Cypress tests for the Portal UI utilize the live running instance of Globus and an actual account to log a user in then proceeds with the rest of the tests. After discussion we want to instead rely on a series of fake tokens that will correspond to various use-cases (e.g. public/non-logged in access, user with a single group, user with multiple groups, data admin, data admin with no group write access, etc.)

Because we consistently ping the HuBMAP commons' AuthHelper (which makes token specific calls to Globus) we will need to