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

BacLuc / ecamp3 / 33560441988
35%
devel: 36%

Build:
Build:
LAST BUILD BRANCH: issue-145
DEFAULT BRANCH: devel
Ran 01 Sep 2026 09:22PM UTC
Jobs 0
Files 0
Run time –
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

pending completion
  cancel
33560441988

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)
Source Files on build 33560441988
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #33560441988
  • 8ee6bab4 on github
  • Prev Build on feature/api-form-component-tests (#28600893763)
  • Next 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