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

kobotoolbox / kpi / 15137182444
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 20 May 2025 12:49PM UTC
Jobs 2
Files 654
Run time 1min
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

20 May 2025 12:12PM UTC coverage: 80.981%. Remained the same
15137182444

push

github

web-flow
refactor(UniversalTable): use hardcoded mock data in stories DEV-277 (#5782)

### 💭 Notes

For upcoming Chromatic introduction (the free version :P) we need to not
use dynamic/random data in Storybook stories. `UniversalTable` component
has stories with a pretty complex function that generates nice test
data.

Changes:
- Moved all code responsible for generating mock data to a separate file
- Added [fakerjs](https://fakerjs.dev) for reproducible test data
- ~~Produced a hardcoded array of mock data~~
- Added a function for getting mock columns (instead of inline code with
ifs)
- ~~Kept all the code for future (useful if we need to re-regenerate?)~~

### 👀 Preview steps

Testing:
1. â„šī¸ run and open storybook (http://localhost:6006)
2. go to Components → UniversalTable
3. đŸŸĸ notice that the table renders properly:
   1. notice and remember the name from first row of "Your name" column
   2. notice all the controls still works
4. reload browser tab
6. đŸŸĸ notice first row's "Your name" column is the same name (and all the
other columns and rows are the same regardless of reloading)

6241 of 9906 branches covered (63.0%)

23819 of 29413 relevant lines covered (80.98%)

1.6 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.33
-5.56% kpi/urls/__init__.py
1
93.62
-2.13% kpi/utils/django_orm_helper.py
3
90.52
-2.59% kpi/views/environment.py
25
70.79
-28.09% kpi/utils/usage_calculator.py
Jobs
ID Job ID Ran Files Coverage
1 15137182444.1 20 May 2025 12:49PM UTC 654
78.89
2 15137182444.2 20 May 2025 12:52PM UTC 654
80.96
Source Files on build 15137182444
  • Tree
  • List 654
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d267ff84 on github
  • Prev Build on main (#15132191463)
  • Next Build on main (#15143047471)
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

© 2025 Coveralls, Inc