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

BacLuc / ecamp3 / 36870427029
35%
devel: 37%

Build:
Build:
LAST BUILD BRANCH: fix-doctrine-sort-direction
DEFAULT BRANCH: devel
Ran 01 Oct 2026 01:43PM UTC
Jobs 2
Files 651
Run time 2min
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

01 Sep 2026 09:24PM UTC coverage: 35.311% (-0.007%) from 35.318%
36870427029

push

github

BacLuc
feat: add FormTestDatum singleton and API form component e2e tests

Add a shared, authenticated singleton entity plus a dev route so the
API-backed form components (ApiTextField, ApiCheckbox, ApiTimePicker, ...)
can be driven and asserted on with Playwright - including the two-tab
"change here, reload there" flow and end-to-end persistence through the
database.

api:
- FormTestDatum entity exposed via API Platform with Get / GetCollection
  / Patch, each secured with is_authenticated(). No create/delete, so the
  single row cannot be multiplied or removed; every authenticated user
  reads and writes that same row. Fields cover each form component type
  (text, multilineText, html, number, flag, color, date, time, language,
  languageMultiselect). Every property carries an ApiProperty example so
  the OpenAPI spec documents a representative value for each field.
- The `time` field is stored as a datetime (in UTC) and exchanged as an
  ISO 8601 string (e.g. "2024-01-15T09:30:00+00:00") via an explicit
  serializer context (DateTimeNormalizer::FORMAT_KEY), which the
  ApiTimePicker / ETimePicker read and write with their default
  valueFormat "YYYY-MM-DDTHH:mm:ssZ". This makes the time field
  updateable and persisted, with a clean API <-> DB round-trip.
- The single row is seeded in the schema migration (not via fixtures) so
  it exists in every environment, including production. Its id is fixed
  (0123456789ab). The migration is the newest schema migration, so its
  INSERT runs after the dev-data seeding (which truncates) and survives.

frontend:
- /api-form-test/:component (dev only, auth required) renders the named
  API component bound to the singleton (?path= chooses the field), shows
  the persisted value in [data-testid="api-form-test-value"], and offers
  a reload button to re-fetch the entity from the API.

e2e (in e2e/9-behavior-tests/components/form/api/):
- apiFormComponentTest: opens two tabs sharing one session, edits the
  field in tab A ... (continued)

837 of 4693 branches covered (17.84%)

Branch coverage included in aggregate %.

0 of 46 new or added lines in 2 files covered. (0.0%)

97 existing lines in 3 files now uncovered.

4691 of 10962 relevant lines covered (42.79%)

63.31 hits per line

Uncovered Changes

Lines Coverage ∆ File
45
0.0
0.0% frontend/src/views/dev/ApiFormComponentTest.vue
1
0.0
0.0% frontend/src/views/dev/Controls.vue

Coverage Regressions

Lines Coverage ∆ File
94
12.21
0.0% frontend/src/router.js
2
0.0
0.0% frontend/src/views/dev/Controls.vue
1
98.73
-0.32% api/src/Service/DataGeneratorService.php
Jobs
ID Job ID Ran Files Coverage
1 frontend - 36870427029.1 01 Oct 2026 01:43PM UTC 404
18.49
GitHub Action Run
2 api - 36870427029.2 01 Oct 2026 01:44PM UTC 247
87.99
GitHub Action Run
Source Files on build 36870427029
  • Tree
  • List 651
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36870427029
  • 65feaf07 on github
  • Prev Build on feature/api-form-component-tests (#33560929070)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc