• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IGVF-DACC / igvf-ui / #1547
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: IGVF-3031-pipeline-status-embed
DEFAULT BRANCH: main
Ran 09 May 2023 05:21PM UTC
Jobs 1
Files 85
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#1547

push

web-flow
IGVF-397 Upgrade auth0-react npm package to v2 (#163)

IGVF-397-auth0-2

* Update npm packages.
* Update the @auth0/auth0-react package to version 2.
* Upgrade Auth0Provider, loginWithRedirect, and logout to the @auth0/auth0-react version 2 API.
* Update our code to use the new auth0-react v2 API.
* Get rid of the now-unused setRedirectTo SessionContext property as the auth0 mechanism for post-login redirection works now. We also no longer need the `onRedirectCallback` function. The new function to handle logging into igvfd wasn’t useful because it has to be called within the Auth0Provider context, and we can’t do that.
* Update package-lock.json after rebase to dev.
* Fix some comments.
* Get the Cypress tests to work with auth0-react v2.
* Update comments. Remove unneeded logout steps in Cypress tests. Remove ESLint errors for chaining commands because if you remove the chaining, Cypress says the commands should be chained.
* Remove “cypress/unsafe-to-chain-command” from eslint rules to avoid the “Error: Definition for rule 'cypress/unsafe-to-chain-command' was not found.” error in Jest and Cypress. We’ll just have to live with that error for now.
* Rebuild package-lock.json after rebase with dev.
* Correct a refactoring mistake when sending a login request to igvfd.
* Add a whole-viewport overlay with spinner while auth0 loads. Correct some comments.
* Remove all use of the components/authentication.js custom React hook, as the useAuth0 version works fine.
* Get Jest tests for full coverage.
* Add a semphore so we don’t have parallel login attempts in the session context.
* Update comments and remove the last console.log.
* Use session properties to display user name instead of authentication object. This helps with impersonation when I get to that.
* Always display the universal login page instead of sometimes skipping it. At least hopefully this works.
* Fix problem (especially on demos) where auth0 redirects to the page the ... (continued)

611 of 611 branches covered (100.0%)

Branch coverage included in aggregate %.

1289 of 1289 relevant lines covered (100.0%)

11.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1547.1 09 May 2023 05:21PM UTC 0
100.0
Source Files on build #1547
Detailed source file information is not available for this build.
  • Back to Repo
  • 6a7eca77 on github
  • Prev Build on dev
  • Next Build on dev
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc