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

yext / search-ui-react / 7052511878
85%
main: 85%

Build:
Build:
LAST BUILD BRANCH: prevent-redirect-on-dropdown-click
DEFAULT BRANCH: main
Ran 30 Nov 2023 09:36PM UTC
Jobs 1
Files 102
Run time 14s
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

30 Nov 2023 09:32PM UTC coverage: 85.155% (+0.05%) from 85.101%
7052511878

push

github

web-flow
Take snapshots without Percy (#407)

Update the visual regression snapshots to use the Storybook add-on `jest-image-snapshot` rather than Percy. We can now remove Percy from the repo entirely. The workflow now checks snapshots and commits any that have changed. Also, the play functions for stories are fixed so async actions are properly awaited. 

The loading state for the `Geolocation` component includes animation, so the snapshot doesn't match perfectly each time. To account for this, the threshold for failure for this story is increased to a 0.005% difference in the image rather than an exact match. We also use this threshold for `MapboxMap` stories because the map canvas can have slight changes.

The `MapboxMap` component takes some time to load. I wasn't able to find a good way to detect the correct time to take a snapshot, so I added a 7500ms wait for these stories to give the map time to load before taking the snapshot. Adding more robust detection logic will be part of another [item](https://yexttest.atlassian.net/browse/BACK-2843). This item will also address the snapshot for the loading story for `LocationBias`. Right now, we skip taking a snapshot for this story because the snapshot is blank. This is likely because geolocation permissions are disabled for the test runner, so the request for the location is automatically denied.

J=BACK-2832
TEST=auto

1283 of 1683 branches covered (0.0%)

Branch coverage included in aggregate %.

1849 of 1995 relevant lines covered (92.68%)

136.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7052511878.1 30 Nov 2023 09:36PM UTC 0
85.15
GitHub Action Run
Source Files on build 7052511878
Detailed source file information is not available for this build.
  • Back to Repo
  • 182fc282 on github
  • Prev Build on develop (#7034799239)
  • Next Build on develop (#7105610492)
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