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

IQSS / dataverse-frontend / 25399700271
98%
develop: 97%

Build:
Build:
LAST BUILD BRANCH: feature/standalone-file-uploader
DEFAULT BRANCH: develop
Ran 05 May 2026 08:47PM UTC
Jobs 1
Files 317
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

05 May 2026 08:10PM UTC coverage: 98.063% (+0.6%) from 97.471%
25399700271

Pull #898

github

ErykKul
Fix the four remaining component-test failures

Component CI was red on:

- FilesTree.spec.tsx - 'renders empty state when no files are
  present': matcher was /no files/i. Both 'No files selected'
  (toolbar) and 'This dataset has no files' (state) match it, so
  cy.findByText fails with 'Found multiple elements'. Tightened to
  /this dataset has no files/i.

- FileUploader.spec.tsx 'replace mode' x2 + 'add files' x1: the
  'shows unknown error message in toast' tests fail because
  Sinon.stub().rejects() with no argument resolves to a plain
  Error('Error'), and the catch block in useReplaceFile.ts /
  useAddUploadedFilesToDataset.ts checks `if (writeError &&
  (writeError.reason || writeError.message))`. A plain Error has
  .message so the WriteError-specific branch fires and toasts
  'Error' instead of falling to the generic default. Fix: use
  `err instanceof WriteError` instead — only the actual
  JSDataverse WriteError class triggers the format-via-handler
  path. Plain Errors fall to the user-friendly default toast.

- FileUploader.spec.tsx 'renders file upload by clicking add
  button': cy.get('input[type=file]').selectFile(...) fails with
  'subject contained 2 elements'. The drop zone now renders both a
  regular file input and a folder input ([webkitdirectory]) since
  the folder-selection feature landed. The selector matched both.
  Targeted only the file input via :not([webkitdirectory]).

The three e2e failures (FileUpload DirectUpload 403, Login
OIDC sign-up timeout, Dataset 'Unrestrict' text not found) are
all in spec files we don't touch; they're CI backend / OIDC
fixture issues unrelated to this slice — leaving for whoever
maintains those flows.
Pull Request #898: Add reusable React components: file uploader and file tree view

1578 of 1634 branches covered (96.57%)

Branch coverage included in aggregate %.

12 of 12 new or added lines in 3 files covered. (100.0%)

23 existing lines in 12 files now uncovered.

3789 of 3839 relevant lines covered (98.7%)

10902.77 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
64.1
-16.85% src/sections/dataset/dataset-action-buttons/edit-dataset-menu/EditDatasetMenu.tsx
3
71.43
-11.11% src/sections/shared/pagination/PaginationControls.tsx
2
87.5
-7.5% src/sections/file/file-action-buttons/access-file-menu/RequestAccessModal.tsx
2
83.33
-16.67% src/sections/file/useFile.tsx
2
78.79
-7.88% src/sections/shared/form/DatasetMetadataForm/MetadataForm/MetadataBlockFormFields/MetadataFormField/Fields/Vocabulary.tsx
1
90.0
-6.55% src/sections/collection/collection-items-panel/items-list/file-card/FileCardHelper.ts
1
89.47
-6.82% src/sections/dataset/dataset-files/dataset-upload-files-button/DatasetUploadFilesButton.tsx
1
92.68
-4.51% src/sections/dataset/dataset-files/files-table/file-actions/download-files/DownloadFilesButton.tsx
1
86.96
-2.52% src/sections/dataset/DatasetProvider.tsx
1
91.18
1.76% src/sections/dataset/Dataset.tsx
1
90.0
-8.04% src/sections/session/SessionProvider.tsx
1
99.62
1.4% src/sections/shared/form/DatasetMetadataForm/MetadataFieldsHelper.ts
Jobs
ID Job ID Ran Files Coverage
1 25399700271.1 05 May 2026 08:47PM UTC 317
98.06
GitHub Action Run
Source Files on build 25399700271
  • Tree
  • List 317
  • Changed 228
  • Source Changed 3
  • Coverage Changed 228
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25399700271
  • Pull Request #898
  • PR Base - develop (#25341400886)
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