Closed julienw closed 5 days ago
Name | Link |
---|---|
Latest commit | 4308401782f549bda957818b178410f03e6c8f58 |
Latest deploy log | https://app.netlify.com/sites/mozilla-perfcompare/deploys/6706711ffd44610008ea6d87 |
Deploy Preview | https://deploy-preview-761--mozilla-perfcompare.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.59%. Comparing base (
6020382
) to head (3fb6516
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Previously, after the user signs in on taskcluster so that they can do a retrigger request, perfcompare displays a blank page while it validates the credentials. This isn't a great experience so this patch adds up some (limited) spice, especially a spinner.
This also adds some more tests and fixes a bug with handling errors properly (and adds a test about that).
Commit 1: updates react-router-dom because this fixes an issue with
Await
in the test (without that there's some infinite loop). Commit 2: make the taskcluster auth landing page asynchronous with promises and adds the spinner. Commit 3: changes the structure of the test and simplifies it a bit so that other tests can easily be added. Commit 4: adds a specific test for the spinner. Commit 5: fixes the issue with handling errors (and adds a test)Note that you can't test the taskcluster signin from the deploy preview but you can test it by applying the patch locally. I was testing from this URL (provided you started your local server on port 3000). Make sure that your
localStorage
is empty (using Devtools' Storage panel) so that the sign in process will proceed.